[clang] [llvm] [SPARC] Align i128 to 16 bytes in SPARC datalayouts (PR #106951)

Alex Rønne Petersen via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 5 14:33:32 PST 2025


================
@@ -151,7 +151,7 @@ class LLVM_LIBRARY_VISIBILITY SparcV8TargetInfo : public SparcTargetInfo {
 public:
   SparcV8TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
       : SparcTargetInfo(Triple, Opts) {
-    resetDataLayout("E-m:e-p:32:32-i64:64-f128:64-n32-S64");
+    resetDataLayout("E-m:e-p:32:32-i64:64-i128:128-f128:64-n32-S64");
----------------
alexrp wrote:

Ah, that makes sense. Thanks for the clarification.

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


More information about the cfe-commits mailing list