diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-09-02 22:41:11 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-09-02 22:41:11 +0000 |
commit | 47e208bbeaa2cd45e999f41b07bb5618afb0152d (patch) | |
tree | 21e86978f827b4b600b7c2e86635033c4fd9345e /test/Transforms/LCSSA/invoke-dest.ll | |
parent | 4136d23c4805c5403a3521bf03fbfeee75b9216b (diff) | |
download | external_llvm-47e208bbeaa2cd45e999f41b07bb5618afb0152d.zip external_llvm-47e208bbeaa2cd45e999f41b07bb5618afb0152d.tar.gz external_llvm-47e208bbeaa2cd45e999f41b07bb5618afb0152d.tar.bz2 |
Try to eliminate the use of the 'unwind' instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LCSSA/invoke-dest.ll')
-rw-r--r-- | test/Transforms/LCSSA/invoke-dest.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/LCSSA/invoke-dest.ll b/test/Transforms/LCSSA/invoke-dest.ll index 4547150..22b3202 100644 --- a/test/Transforms/LCSSA/invoke-dest.ll +++ b/test/Transforms/LCSSA/invoke-dest.ll @@ -110,12 +110,18 @@ bb106: ; preds = %invcont105, %bb61 to label %.noexc unwind label %lpad119 ; <i8*> [#uses=1] lpad: ; preds = %_ZN7cObjectnwEj.exit + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup br label %Unwind lpad119: ; preds = %bb106, %invcont104, %invcont103, %bb102, %bb49, %bb34, %bb12, %invcont10, %invcont9, %bb8 + %exn119 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup unreachable lpad123: ; preds = %.noexc + %exn123 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup %tmp5 = icmp eq i8* %tmp4, null ; <i1> [#uses=1] br i1 %tmp5, label %Unwind, label %bb.i2 @@ -126,6 +132,8 @@ Unwind: ; preds = %bb.i2, %lpad123, %lpad unreachable } +declare i32 @__gxx_personality_v0(...) + declare void @_ZN8EtherBus8tokenizeEPKcRSt6vectorIdSaIdEE(i8* nocapture, i8*, i8*) declare i8* @_Znaj(i32) |