summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/constant-pool-remat-0.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-05 20:20:26 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-05 20:20:26 +0000
commit3520019931c2bad615c35edcb943cd1e8582ebac (patch)
treefdabbc7819a058d00686f08c433459948fac35dc /test/CodeGen/X86/constant-pool-remat-0.ll
parente050f50443eff5449016d5bd24bd9401685a227c (diff)
downloadllvm-3520019931c2bad615c35edcb943cd1e8582ebac.tar.gz
llvm-3520019931c2bad615c35edcb943cd1e8582ebac.tar.bz2
llvm-3520019931c2bad615c35edcb943cd1e8582ebac.tar.xz
When dead code elimination removes all but one use, try to fold the single def into the remaining use.
Rematerialization can leave single-use loads behind that we might as well fold whenever possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/constant-pool-remat-0.ll')
-rw-r--r--test/CodeGen/X86/constant-pool-remat-0.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/X86/constant-pool-remat-0.ll b/test/CodeGen/X86/constant-pool-remat-0.ll
index f1b061f65a..4be14d2128 100644
--- a/test/CodeGen/X86/constant-pool-remat-0.ll
+++ b/test/CodeGen/X86/constant-pool-remat-0.ll
@@ -1,4 +1,5 @@
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -regalloc=greedy | FileCheck %s
; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
; CHECK: LCPI
; CHECK: LCPI