summaryrefslogtreecommitdiff
path: root/test/Transforms
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-19 19:00:10 +0000
committerDan Gohman <gohman@apple.com>2009-11-19 19:00:10 +0000
commitdab249b3b762cff0ff16069b3233e4c885e75347 (patch)
tree03861743b53beec3c6cacf798f7bbfb46c0ddb78 /test/Transforms
parent58ce7acb4f87c3caf0f473f89220950919fba7bc (diff)
downloadllvm-dab249b3b762cff0ff16069b3233e4c885e75347.tar.gz
llvm-dab249b3b762cff0ff16069b3233e4c885e75347.tar.bz2
llvm-dab249b3b762cff0ff16069b3233e4c885e75347.tar.xz
Enable hoisting of loads from constant memory by default. In cases where
they are lowered to instruction sequences more complex than a simple load, such that CodeGen cannot rematerialize them, a reload from a spill slot is likely to be cheaper than the complex sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll2
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 723440f101..10b00bab8f 100644
--- a/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll
+++ b/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -licm -enable-licm-constant-variables -S | FileCheck %s
+; RUN: opt < %s -licm -S | FileCheck %s
@a = external constant float*