diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-31 21:39:05 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-31 21:39:05 +0000 |
commit | 935903191f0f1b62e78d68ec051be594fc4b4ce7 (patch) | |
tree | 40b848718999ceaa7ba3866ef57633493b5a95de /test/Transforms | |
parent | 24adac8b79a35af84fa19d210b00e9fba71e0085 (diff) | |
download | external_llvm-935903191f0f1b62e78d68ec051be594fc4b4ce7.zip external_llvm-935903191f0f1b62e78d68ec051be594fc4b4ce7.tar.gz external_llvm-935903191f0f1b62e78d68ec051be594fc4b4ce7.tar.bz2 |
Update more tests to the new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll | 6 | ||||
-rw-r--r-- | test/Transforms/Mem2Reg/crash.ll | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll b/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll index e7d0f84..87b3274 100644 --- a/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll +++ b/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll @@ -605,6 +605,8 @@ Unwind20.fragment: ; preds = %bb_main br label %UnifiedUnreachableBlock meshBB: ; preds = %nofilter.fragment, %bb_main + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup br label %bb_main meshBB.unwinddest: ; No predecessors! @@ -779,6 +781,8 @@ meshBB324: ; preds = %bb_main br label %bb_main meshBB325: ; preds = %entry.fragment.fragment, %bb_main + %exn325 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup br label %bb_main meshBB325.unwinddest: ; No predecessors! @@ -890,3 +894,5 @@ UnifiedUnreachableBlock: ; preds = %Unwind20.fragment, %filter87, %filter75, %f UnifiedReturnBlock: ; preds = %invcont70.normaldest, %invcont15.normaldest ret void } + +declare i32 @__gxx_personality_v0(...) diff --git a/test/Transforms/Mem2Reg/crash.ll b/test/Transforms/Mem2Reg/crash.ll index 655549f..59e2c0b 100644 --- a/test/Transforms/Mem2Reg/crash.ll +++ b/test/Transforms/Mem2Reg/crash.ll @@ -18,10 +18,13 @@ bb15: ret i32 %B lpad86: + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup br label %bb15 } +declare i32 @__gxx_personality_v0(...) define i32 @test2() { |