diff options
Diffstat (limited to 'test/Feature/unwindto.ll')
-rw-r--r-- | test/Feature/unwindto.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/Feature/unwindto.ll b/test/Feature/unwindto.ll index bfdf203959..ad1bb1ab9b 100644 --- a/test/Feature/unwindto.ll +++ b/test/Feature/unwindto.ll @@ -4,7 +4,7 @@ ; http://nondot.org/sabre/LLVMNotes/ExceptionHandlingChanges.txt define i1 @test1(i8 %i, i8 %j) { -entry: unwind_to %target +entry: unwinds to %target %tmp = sub i8 %i, %j ; <i8> [#uses=1] %b = icmp eq i8 %tmp, 0 ; <i1> [#uses=1] ret i1 %b @@ -15,7 +15,7 @@ target: define i1 @test2(i8 %i, i8 %j) { entry: br label %0 -unwind_to %1 +unwinds to %1 %tmp = sub i8 %i, %j ; <i8> [#uses=1] %b = icmp eq i8 %tmp, 0 ; <i1> [#uses=1] ret i1 %b @@ -26,11 +26,11 @@ unwind_to %1 define i1 @test3(i8 %i, i8 %j) { entry: br label %0 -unwind_to %1 +unwinds to %1 %tmp = sub i8 %i, %j ; <i8> [#uses=1] %b = icmp eq i8 %tmp, 0 ; <i1> [#uses=1] ret i1 %b -unwind_to %0 +unwinds to %0 ret i1 false } @@ -38,7 +38,7 @@ define i1 @test4(i8 %i, i8 %j) { %tmp = sub i8 %i, %j ; <i8> [#uses=1] %b = icmp eq i8 %tmp, 0 ; <i1> [#uses=1] br label %1 -unwind_to %1 +unwinds to %1 ret i1 false } @@ -49,16 +49,16 @@ define void @test5() { define void @test6() { entry: br label %unwind -unwind: unwind_to %unwind +unwind: unwinds to %unwind unwind } define i8 @test7(i1 %b) { -entry: unwind_to %cleanup +entry: unwinds to %cleanup br i1 %b, label %cond_true, label %cond_false -cond_true: unwind_to %cleanup +cond_true: unwinds to %cleanup br label %cleanup -cond_false: unwind_to %cleanup +cond_false: unwinds to %cleanup br label %cleanup cleanup: %x = phi i8 [0, %entry], [1, %cond_true], [1, %cond_true], |