diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-07-27 20:18:27 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-07-27 20:18:27 +0000 |
commit | f90edbe3d6b0c9b72214f6514133a72997610964 (patch) | |
tree | d1b2854518ee2904517848b70361f2f3b03433a8 /llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll | |
parent | 1b826174738891ec3bdc4b1964ac45757448a4c2 (diff) | |
download | bcm5719-llvm-f90edbe3d6b0c9b72214f6514133a72997610964.tar.gz bcm5719-llvm-f90edbe3d6b0c9b72214f6514133a72997610964.zip |
Recommit "Enable MachineOutliner by default under -Oz for AArch64"
Fixed the ASAN failure from before in r338148, so recommiting.
This patch enables the MachineOutliner by default in AArch64 under -Oz.
The MachineOutliner offers around a 4.5% improvement on the current -Oz code
size improvements.
We have done work into improving the debuggability of outlined code, so that
users of -Oz won't be surprised by the optimization. We have also been executing
the LLVM test suite and common external tests such as the SPEC suites
continuously with no issue. The outliner has a low compile-time overhead of
roughly 1%. At this point, the outliner would be a really good addition to the
-Oz pass pipeline!
llvm-svn: 338160
Diffstat (limited to 'llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll')
-rw-r--r-- | llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll b/llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll index 0afe1c006b0..ab819a42729 100644 --- a/llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll +++ b/llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll @@ -1,6 +1,6 @@ -; RUN: llc %s -mtriple=arm64-apple-darwin -o - | \ -; RUN: FileCheck --check-prefixes=CHECK,CHECK-DARWIN %s -; RUN: llc %s -mtriple=arm64-linux-gnu -o - | \ +; RUN: llc %s -enable-machine-outliner=never -mtriple=arm64-apple-darwin -o - \ +; RUN: | FileCheck --check-prefixes=CHECK,CHECK-DARWIN %s +; RUN: llc %s -enable-machine-outliner=never -mtriple=arm64-linux-gnu -o - | \ ; RUN: FileCheck --check-prefixes=CHECK,CHECK-LINUX %s ; <rdar://problem/14199482> ARM64: Calls to bzero() replaced with calls to memset() |