llvm
c7d45cae - [ARM] Don't try to emit AEABI libcalls for non-AEABI targets (#207813)

Commit
22 hours ago
[ARM] Don't try to emit AEABI libcalls for non-AEABI targets (#207813) PR #172672 added ARMTargetLowering::LowerAEABIUnalignedLoad/Store which lowers some of the unaligned i32/i64 stores to __aeabi_u{read,write}{4,8}. The libcall is emitted unconditionally, with no check whether the target environment actually has these AEABI helpers. We don't have it for Apple/MachO which leads to a compiler crash. rdar://175136625
Author
Parents
Loading