[llvm-commits] [llvm] r96277 - /llvm/trunk/test/CodeGen/Thumb2/2010-02-11-phi-cycle.ll
Bob Wilson
bob.wilson at apple.com
Mon Feb 15 13:56:40 PST 2010
Author: bwilson
Date: Mon Feb 15 15:56:40 2010
New Revision: 96277
URL: http://llvm.org/viewvc/llvm-project?rev=96277&view=rev
Log:
Last week we were generating code with duplicate induction variables in this
test, but the problem seems to have gone away today. Add a check to make sure
it doesn't come back.
Modified:
llvm/trunk/test/CodeGen/Thumb2/2010-02-11-phi-cycle.ll
Modified: llvm/trunk/test/CodeGen/Thumb2/2010-02-11-phi-cycle.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/2010-02-11-phi-cycle.ll?rev=96277&r1=96276&r2=96277&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/2010-02-11-phi-cycle.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/2010-02-11-phi-cycle.ll Mon Feb 15 15:56:40 2010
@@ -58,6 +58,10 @@
br label %bb2
bb2: ; preds = %bb1, %bb
+; also check for duplicate induction variables (radar 7645034)
+; CHECK: subs r{{.*}}, #1
+; CHECK-NOT: subs r{{.*}}, #1
+; CHECK: pop
%u.0 = phi i64 [ %ins, %bb1 ], [ %u.17, %bb ] ; <i64> [#uses=2]
%indvar.next = add i32 %indvar, 1 ; <i32> [#uses=2]
%exitcond = icmp eq i32 %indvar.next, %tmp ; <i1> [#uses=1]
More information about the llvm-commits
mailing list