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:
b61d41b
)
Oops, can't unwind to the entry block (entry block may have no preds).
author
Nick Lewycky
<nicholas@mxc.ca>
Sun, 2 Mar 2008 03:34:55 +0000
(
03:34
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Sun, 2 Mar 2008 03:34:55 +0000
(
03:34
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47808
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/unwindto.ll
patch
|
blob
|
history
diff --git
a/test/Feature/unwindto.ll
b/test/Feature/unwindto.ll
index 78061437594f639b3a55991cc21ce6ec98a0fcf1..5c2333af3b804c1db55cfdb8330908294e94e5d8 100644
(file)
--- a/
test/Feature/unwindto.ll
+++ b/
test/Feature/unwindto.ll
@@
-13,6
+13,8
@@
target:
}
define i1 @test2(i8 %i, i8 %j) {
+entry:
+ br label %0
unwind_to %1
%tmp = sub i8 %i, %j ; <i8> [#uses=1]
%b = icmp eq i8 %tmp, 0 ; <i1> [#uses=1]
@@
-22,6
+24,8
@@
unwind_to %1
}
define i1 @test3(i8 %i, i8 %j) {
+entry:
+ br label %0
unwind_to %1
%tmp = sub i8 %i, %j ; <i8> [#uses=1]
%b = icmp eq i8 %tmp, 0 ; <i1> [#uses=1]
@@
-43,6
+47,8
@@
define void @test5() {
}
define void @test6() {
+entry:
+ br label %unwind
unwind: unwind_to %unwind
unwind
}