summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-07-27 17:25:38 +0000
committerJessica Paquette <jpaquette@apple.com>2018-07-27 17:25:38 +0000
commitfaea2d31304709b17cff19be8403952c0b3395cb (patch)
treee1585c039096141cc7fe5d00d5f9a7d541a03a67 /llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
parent7ed5fb2d22942648408376457dcc11912066ea6f (diff)
downloadbcm5719-llvm-faea2d31304709b17cff19be8403952c0b3395cb.tar.gz
bcm5719-llvm-faea2d31304709b17cff19be8403952c0b3395cb.zip
Revert "Enable MachineOutliner by default under -Oz for AArch64"
It failed an Asan test on a bot: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/21543/steps/check-llvm%20asan/logs/stdio Fixing that before recommitting. llvm-svn: 338136
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 9e5c0b83a4a..dc3fa4f8c1d 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -5478,8 +5478,3 @@ MachineBasicBlock::iterator AArch64InstrInfo::insertOutlinedCall(
return CallPt;
}
-
-bool AArch64InstrInfo::shouldOutlineFromFunctionByDefault(
- MachineFunction &MF) const {
- return MF.getFunction().optForMinSize();
-}
OpenPOWER on IntegriCloud