diff options
| author | Dan Gohman <gohman@apple.com> | 2008-07-24 23:57:25 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-07-24 23:57:25 +0000 |
| commit | 5f36a32e7bf5f7fb05579c5f73f678c55429d1be (patch) | |
| tree | 4c99147e16cc406e2ebdc50c11920aa2a11d68c2 /llvm/test/Transforms | |
| parent | a23b9f0e90273920bff188979420df90fb98d202 (diff) | |
| download | bcm5719-llvm-5f36a32e7bf5f7fb05579c5f73f678c55429d1be.tar.gz bcm5719-llvm-5f36a32e7bf5f7fb05579c5f73f678c55429d1be.zip | |
Put the LICM of constant GlobalVariables, introduced in r53945, under a
command-line option, and disable it by default. It introduced performance
regressions because CodeGen is currently not able to remat such loads.
llvm-svn: 53997
Diffstat (limited to 'llvm/test/Transforms')
| -rw-r--r-- | llvm/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll b/llvm/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll index c3af29bf436..3824d535977 100644 --- a/llvm/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll +++ b/llvm/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -licm | llvm-dis | grep -A 1 entry | grep load.*@a +; RUN: llvm-as < %s | opt -licm -enable-licm-constant-variables | llvm-dis | grep -A 1 entry | grep load.*@a @a = external constant float* define void @test(i32 %count) { |

