projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality...
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
phi-undef-loadstore.ll
diff --git
a/test/Transforms/SimplifyCFG/phi-undef-loadstore.ll
b/test/Transforms/SimplifyCFG/phi-undef-loadstore.ll
index 028fb0745631feb1fe024594f6beee990bf7511e..f34aec525df83f8fd9a1b4bcbfdce02606109878 100644
(file)
--- a/
test/Transforms/SimplifyCFG/phi-undef-loadstore.ll
+++ b/
test/Transforms/SimplifyCFG/phi-undef-loadstore.ll
@@
-24,7
+24,7
@@
if.end7: ; preds = %if.else, %if.then4,
%tmp9 = load i32* %x.0
ret i32 %tmp9
%tmp9 = load i32* %x.0
ret i32 %tmp9
-; CHECK
: @test1
+; CHECK
-LABEL: @test1(
; CHECK: if.else:
; CHECK: br label %if.end7
; CHECK: if.else:
; CHECK: br label %if.end7
@@
-52,7
+52,7
@@
if.end7: ; preds = %if.else, %if.then4,
%x.0 = phi i32* [ %a, %if.then ], [ null, %if.then4 ], [ null, %if.else ]
%tmp9 = load i32* %x.0
ret i32 %tmp9
%x.0 = phi i32* [ %a, %if.then ], [ null, %if.then4 ], [ null, %if.else ]
%tmp9 = load i32* %x.0
ret i32 %tmp9
-; CHECK
: @test2
+; CHECK
-LABEL: @test2(
; CHECK: if.else:
; CHECK: unreachable
; CHECK: if.else:
; CHECK: unreachable
@@
-81,7
+81,7
@@
if.end7: ; preds = %if.else, %if.then4,
tail call void @bar() nounwind
%tmp9 = load i32* %x.0
ret i32 %tmp9
tail call void @bar() nounwind
%tmp9 = load i32* %x.0
ret i32 %tmp9
-; CHECK
: @test3
+; CHECK
-LABEL: @test3(
; CHECK: if.end7:
; CHECK: phi i32* [ %a, %if.then ], [ null, %if.then4 ], [ null, %if.else ]
}
; CHECK: if.end7:
; CHECK: phi i32* [ %a, %if.then ], [ null, %if.then4 ], [ null, %if.else ]
}
@@
-110,6
+110,6
@@
if.end7: ; preds = %if.else, %if.then4,
%tmp10 = or i32 %tmp9, 1
store i32 %tmp10, i32* %gep
ret i32 %tmp9
%tmp10 = or i32 %tmp9, 1
store i32 %tmp10, i32* %gep
ret i32 %tmp9
-; CHECK
: @test4
+; CHECK
-LABEL: @test4(
; CHECK-NOT: phi
}
; CHECK-NOT: phi
}