diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-03-10 02:20:00 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-03-10 02:20:00 +0000 |
commit | 9be3c97183f832d084bcf0fab82f7cd8aae08385 (patch) | |
tree | 902740a9c96315d137bfa799b78a7dc6586aad3e /test/Transforms/SimplifyCFG | |
parent | b8cafe3427a168414400e5dfcbea78996792d2c3 (diff) | |
download | external_llvm-9be3c97183f832d084bcf0fab82f7cd8aae08385.zip external_llvm-9be3c97183f832d084bcf0fab82f7cd8aae08385.tar.gz external_llvm-9be3c97183f832d084bcf0fab82f7cd8aae08385.tar.bz2 |
Turn unwind_to into "unwinds to".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG')
-rw-r--r-- | test/Transforms/SimplifyCFG/unwindto.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/Transforms/SimplifyCFG/unwindto.ll b/test/Transforms/SimplifyCFG/unwindto.ll index 4e91c83..a65e298 100644 --- a/test/Transforms/SimplifyCFG/unwindto.ll +++ b/test/Transforms/SimplifyCFG/unwindto.ll @@ -1,14 +1,14 @@ -; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep unwind_to | count 3 +; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep {unwinds to} | count 3 declare void @g(i32) define i32 @f1() { entry: br label %bb1 -bb1: unwind_to %cleanup1 +bb1: unwinds to %cleanup1 call void @g(i32 0) br label %bb2 -bb2: unwind_to %cleanup2 +bb2: unwinds to %cleanup2 call void @g(i32 1) br label %exit exit: @@ -20,22 +20,22 @@ cleanup2: } define i32 @f2() { -entry: unwind_to %cleanup +entry: unwinds to %cleanup br label %bb1 -bb1: unwind_to %cleanup +bb1: unwinds to %cleanup br label %bb2 -bb2: unwind_to %cleanup +bb2: unwinds to %cleanup br label %bb3 bb3: br label %bb4 -bb4: unwind_to %cleanup +bb4: unwinds to %cleanup ret i32 0 cleanup: ret i32 1 } define i32 @f3() { -entry: unwind_to %cleanup +entry: unwinds to %cleanup call void @g(i32 0) ret i32 0 cleanup: @@ -43,7 +43,7 @@ cleanup: } define i32 @f4() { -entry: unwind_to %cleanup +entry: unwinds to %cleanup call void @g(i32 0) br label %cleanup cleanup: @@ -51,7 +51,7 @@ cleanup: } define i32 @f5() { -entry: unwind_to %cleanup +entry: unwinds to %cleanup call void @g(i32 0) br label %other other: |