[clang] [llvm] [PowerPC] Update data layout aligment of i128 to 16 (PR #118004)

Amy Kwan via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 3 09:09:57 PST 2024


================
@@ -473,7 +473,7 @@ class LLVM_LIBRARY_VISIBILITY PS3PPUTargetInfo : public OSTargetInfo<Target> {
     this->IntMaxType = TargetInfo::SignedLongLong;
     this->Int64Type = TargetInfo::SignedLongLong;
     this->SizeType = TargetInfo::UnsignedInt;
-    this->resetDataLayout("E-m:e-p:32:32-Fi64-i64:64-n32:64");
+    this->resetDataLayout("E-m:e-p:32:32-Fi64-i64:64-i128:128-n32:64");
----------------
amy-kwan wrote:

Unless I am mistaken, I don't think this is necessary because this isn't PPC? It looks like it's for the Playstation targets.

https://github.com/llvm/llvm-project/pull/118004


More information about the cfe-commits mailing list