projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: Make a branchweight test more specific
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
preserve-branchweights.ll
diff --git
a/test/Transforms/SimplifyCFG/preserve-branchweights.ll
b/test/Transforms/SimplifyCFG/preserve-branchweights.ll
index ba00dc9433559d154231d07f6ea6561d47231a53..3c0bfebbd5649eb293a871ff4631dbbe6aff3f74 100644
(file)
--- a/
test/Transforms/SimplifyCFG/preserve-branchweights.ll
+++ b/
test/Transforms/SimplifyCFG/preserve-branchweights.ll
@@
-301,7
+301,9
@@
entry:
i32 1, label %sw.bb
], !prof !9
; CHECK-LABEL: @test12(
-; CHECK-NOT: switch
+; CHECK-NEXT: entry:
+; CHECK-NEXT: call void @helper
+; CHECK-NEXT: ret void
sw.bb:
call void @helper(i32 0)