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 | 3eee6542f5c65dce299361fa5435340513cf3fe4 (patch) | |
tree | 55d9ae6062c7004acf53c75fee45371cb313db70 /test/Transforms/LICM | |
parent | 5444c307239b349af7a2bd7af2406a6c1709b7f1 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LICM')
-rw-r--r-- | test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll b/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll index c3af29bf43..3824d53597 100644 --- a/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll +++ b/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) { |