diff options
author | Jessica Paquette <jpaquette@apple.com> | 2017-03-24 20:47:59 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2017-03-24 20:47:59 +0000 |
commit | 167af85ec7f7fce3d42b5f4bf4bb797d1cba0e0a (patch) | |
tree | aa2faca21d864eeba632610bfa43f0b19d4c69e3 /llvm/lib | |
parent | 5c1500f417133193fb791e3d80abb07fc9ade699 (diff) | |
download | bcm5719-llvm-167af85ec7f7fce3d42b5f4bf4bb797d1cba0e0a.tar.gz bcm5719-llvm-167af85ec7f7fce3d42b5f4bf4bb797d1cba0e0a.zip |
[Outliner] Remove no red zone requirment for AArch64
AArch64 doesn't require -mno-red-zone; stack fixups are sufficient here. This was
unnecessarily copied over from the X86 target.
(You can now outline with red zones! Yay!)
Removing the requirement passes all Single/MultiSource tests.
llvm-svn: 298734
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp index 24fc7d3c8b0..2868d8c4a22 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -4280,7 +4280,7 @@ unsigned AArch64InstrInfo::getOutliningBenefit(size_t SequenceSize, } bool AArch64InstrInfo::isFunctionSafeToOutlineFrom(MachineFunction &MF) const { - return MF.getFunction()->hasFnAttribute(Attribute::NoRedZone); + return true; } AArch64GenInstrInfo::MachineOutlinerInstrType |