================
@@ -276,8 +276,9 @@ static std::string computePowerDataLayout(const Triple &T, 
StringRef ABIName) {
 
   // Specify the vector alignment explicitly. For v256i1 and v512i1, the
   // calculated alignment would be 256*alignment(i1) and 512*alignment(i1),
-  // which is 256 and 512 bytes - way over aligned.
-  if (is64Bit && (T.isOSAIX() || T.isOSLinux()))
+  // which is 256 and 512 bytes - way over aligned. FreeBSD uses the same ELFv2
+  // ABI as Linux, so it shares the stack and vector alignment.
----------------
pkubaj wrote:

Reworded, comment fixed.

https://github.com/llvm/llvm-project/pull/232336
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to