[clang] [llvm] [clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (PR #90702)
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Thu May 2 01:59:27 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", "_");
----------------
fhahn wrote:
Just to double check @TNorthover, is an alignment of 32 OK for arm64_32?
https://github.com/llvm/llvm-project/pull/90702
More information about the cfe-commits
mailing list