================
@@ -117,6 +122,19 @@ class LLVM_LIBRARY_VISIBILITY MipsTargetInfo : public 
TargetInfo {
     SuitableAlign = 64;
   }
 
+  void setO64ABITypes() {
+    Int64Type = SignedLongLong;
+    IntMaxType = Int64Type;
+    LongDoubleFormat = &llvm::APFloat::IEEEquad();
+    LongDoubleWidth = LongDoubleAlign = 128;
+    LongWidth = LongAlign = 64;
----------------
alexrp wrote:

My understanding from the GCC docs is that `LongWidth` and `PointerWidth` 
should be 32 for `-mlong32` which is the default for O64, and `-mlong64` makes 
them 64.

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

Reply via email to