[clang] [llvm] [clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (PR #90702)
Doug Wyatt via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 21:59:00 PDT 2024
================
@@ -5387,6 +5387,14 @@ std::string llvm::UpgradeDataLayoutString(StringRef DL, StringRef TT) {
return Res;
}
+ // AArch64 data layout upgrades.
+ if (T.isAArch64()) {
+ // Add "-Fn32"
+ if (!DL.contains("-Fn32"))
+ Res.append("-Fn32");
----------------
dougsonos wrote:
OK, thanks. I was afraid of that. I was copying two patterns - in ARM, `Fn8` seemed to be after any `p` and before `i`. In this file, the modifications are usually (always?) appending.
https://github.com/llvm/llvm-project/pull/90702
More information about the llvm-commits
mailing list