summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2014-12-04 10:36:42 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2014-12-04 10:36:42 +0000
commitd06de4b954ca5aa25070a25e471dffc6e03051e8 (patch)
tree6d58d0faa45bf922ede87a8f4fe8938475c5776f /llvm/test/CodeGen
parentbe24ab367b0a9ccaa6c1e8653524ff81320deb33 (diff)
downloadbcm5719-llvm-d06de4b954ca5aa25070a25e471dffc6e03051e8.tar.gz
bcm5719-llvm-d06de4b954ca5aa25070a25e471dffc6e03051e8.zip
Use DomTree in MachineSink to sink over diamonds.
According to a previous FIXME comment we now not only look at MBB successors, but also handle code sinking past them: x = computation if () {} else {} use x The instruction could be sunk over the whole diamond for the if/then/else (or loop, etc), allowing it to be sunk into other blocks after that. Modified test added in r204522, due to one spill less present. Minor fixes in comments. Patch provided by Jonas Paulsson. Reviewed by Hal Finkel. llvm-svn: 223350
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll b/llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
index c6b28f71af4..d628ae5b064 100644
--- a/llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
+++ b/llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
@@ -202,7 +202,6 @@ lor.rhs500:
; CHECK: lor.rhs500
; Make sure that we don't hoist the spill to outer loops.
; CHECK: movq %r{{.*}}, {{[0-9]+}}(%rsp)
- ; CHECK: movq %r{{.*}}, {{[0-9]+}}(%rsp)
; CHECK: callq {{.*}}maskrune
%call3.i.i2792 = call i32 @__maskrune(i32 undef, i64 256)
br i1 undef, label %land.lhs.true504, label %do.body479.backedge
OpenPOWER on IntegriCloud