[llvm-commits] [llvm] r86929 - /llvm/trunk/test/Transforms/JumpThreading/basic.ll
Chris Lattner
sabre at nondot.org
Wed Nov 11 18:04:17 PST 2009
Author: lattner
Date: Wed Nov 11 20:04:17 2009
New Revision: 86929
URL: http://llvm.org/viewvc/llvm-project?rev=86929&view=rev
Log:
should not commit when distracted.
Modified:
llvm/trunk/test/Transforms/JumpThreading/basic.ll
Modified: llvm/trunk/test/Transforms/JumpThreading/basic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/JumpThreading/basic.ll?rev=86929&r1=86928&r2=86929&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/JumpThreading/basic.ll (original)
+++ llvm/trunk/test/Transforms/JumpThreading/basic.ll Wed Nov 11 20:04:17 2009
@@ -291,8 +291,8 @@
declare void @test10f3()
;; Non-local condition threading.
-define i32 @test10(i1 %cond) {
-; CHECK: @test10
+define i32 @test10g(i1 %cond) {
+; CHECK: @test10g
; CHECK-NEXT: br i1 %cond, label %T2, label %F2
br i1 %cond, label %T1, label %F1
@@ -331,8 +331,7 @@
BB2:
; CHECK: call i32 @f1()
-; CHECK-NEXT: call void @f3()
-; CHECK-NEXT: ret i32 4
+; CHECK-NEXT: ret i32 %C
%C = call i32 @f1()
ret i32 %C
More information about the llvm-commits
mailing list