aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-12-01 03:03:00 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-12-01 03:03:00 +0000
commitc79abe2ba9e6bd0909b9a00eddb54a8d500ec11c (patch)
treebac8de2fd1ebbcc14a56b5ed0fc6822f32c03ebc /test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
parent1b958caea8cf2cd06c543188b32fd3f17bcd5652 (diff)
downloadexternal_llvm-c79abe2ba9e6bd0909b9a00eddb54a8d500ec11c.zip
external_llvm-c79abe2ba9e6bd0909b9a00eddb54a8d500ec11c.tar.gz
external_llvm-c79abe2ba9e6bd0909b9a00eddb54a8d500ec11c.tar.bz2
Use CFG connectedness as a secondary sort key when deciding the order of copy coalescing.
This means that well connected blocks are copy coalesced before the less connected blocks. Connected blocks are more difficult to coalesce because intervals are more complicated, so handling them first gives a greater chance of success. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll')
-rw-r--r--test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll b/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
index f3cf1d5..d372da3 100644
--- a/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
+++ b/test/CodeGen/X86/2009-09-19-SchedCustomLoweringBug.ll
@@ -10,6 +10,7 @@ entry:
bb: ; preds = %bb1, %entry
; CHECK: addl $1
+; CHECK-NEXT: movl %e
; CHECK-NEXT: adcl $0
%i.0 = phi i64 [ 0, %entry ], [ %0, %bb1 ] ; <i64> [#uses=1]
%0 = add nsw i64 %i.0, 1 ; <i64> [#uses=2]