projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19a1fcf
)
Fix bad test IR in switch_to_lookup_table.ll
author
Hans Wennborg
<hans@hanshq.net>
Wed, 7 Nov 2012 18:38:24 +0000
(18:38 +0000)
committer
Hans Wennborg
<hans@hanshq.net>
Wed, 7 Nov 2012 18:38:24 +0000
(18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167543
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
b/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
index d358350554a6db06eb8b3bc2af432cb73516be2a..0f5eb6a135dd34cdb79c276be10065c166fd9996 100644
(file)
--- a/
test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
+++ b/
test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
@@
-770,7
+770,7
@@
sw.bb3: br label %return
sw.default: unreachable
return:
- %retval.0 = phi i32 [ 1, %sw.bb3 ], [ -1, %sw.bb2 ], [
1, %sw.bb1 ], [
0, %sw.bb ]
+ %retval.0 = phi i32 [ 1, %sw.bb3 ], [ -1, %sw.bb2 ], [ 0, %sw.bb ]
ret i32 %retval.0
; CHECK: @unreachable