[clang] [llvm] [clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (PR #90702)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 22:55:21 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");
----------------
efriedma-quic wrote:
Feel free to make the datalayout string whatever order is most convenient for the autoupgrade.
https://github.com/llvm/llvm-project/pull/90702
More information about the cfe-commits
mailing list