================
@@ -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");
----------------
lei137 wrote:

This class is specific for powerpc64 PPU, triple `powerpc64-lv2`, based on it's 
macro defines on line 461->465. Am I missing something or do we not want to 
update this specifically for PPC PS3 target for some reason?

In `llvm/lib/Target/PowerPC/PPCTargetMachine.cpp` I also see the comment:
```
The PS3 (OS Lv2) is a PPC64 machine with 32 bit
```



https://github.com/llvm/llvm-project/pull/118004
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to