[clang] [llvm] [clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (PR #90702)

via llvm-commits llvm-commits at lists.llvm.org
Sun May 5 19:25:01 PDT 2024


================
@@ -1480,11 +1480,11 @@ AArch64leTargetInfo::AArch64leTargetInfo(const llvm::Triple &Triple,
 void AArch64leTargetInfo::setDataLayout() {
   if (getTriple().isOSBinFormatMachO()) {
     if(getTriple().isArch32Bit())
-      resetDataLayout("e-m:o-p:32:32-i64:64-i128:128-n32:64-S128", "_");
+      resetDataLayout("e-m:o-p:32:32-i64:64-i128:128-n32:64-S128-Fn32", "_");
----------------
AtariDreams wrote:

Is this true even if the cpu was executing thumb2 instructions in AArch32 mode?

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


More information about the llvm-commits mailing list