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
/
InstCombine
/
sink_instruction.ll
diff --git
a/test/Transforms/InstCombine/sink_instruction.ll
b/test/Transforms/InstCombine/sink_instruction.ll
index 5c4019a98df55425c0a6f9a0eff2442c11aae9d2..1bbd6b7638419113b19b41cce61cc5a7ef4b5412 100644
(file)
--- a/
test/Transforms/InstCombine/sink_instruction.ll
+++ b/
test/Transforms/InstCombine/sink_instruction.ll
@@
-4,7
+4,7
@@
;; arm of the 'if'.
define i32 @test1(i1 %C, i32 %A, i32 %B) {
;; arm of the 'if'.
define i32 @test1(i1 %C, i32 %A, i32 %B) {
-; CHECK
: @test1
+; CHECK
-LABEL: @test1(
entry:
%tmp.2 = sdiv i32 %A, %B ; <i32> [#uses=1]
%tmp.9 = add i32 %B, %A ; <i32> [#uses=1]
entry:
%tmp.2 = sdiv i32 %A, %B ; <i32> [#uses=1]
%tmp.9 = add i32 %B, %A ; <i32> [#uses=1]
@@
-22,7
+22,7
@@
endif: ; preds = %entry
;; PHI use, sink divide before call.
define i32 @test2(i32 %x) nounwind ssp {
;; PHI use, sink divide before call.
define i32 @test2(i32 %x) nounwind ssp {
-; CHECK
: @test2
+; CHECK
-LABEL: @test2(
; CHECK-NOT: sdiv i32
entry:
br label %bb
; CHECK-NOT: sdiv i32
entry:
br label %bb