projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the personality function from LandingPadInst to Function
[oota-llvm.git]
/
test
/
Transforms
/
Mem2Reg
/
crash.ll
diff --git
a/test/Transforms/Mem2Reg/crash.ll
b/test/Transforms/Mem2Reg/crash.ll
index a4a31b112ee8e70c586223521865c985462ecea5..d7ed1dd13e811c88e6941247de40d6110bdb11cc 100644
(file)
--- a/
test/Transforms/Mem2Reg/crash.ll
+++ b/
test/Transforms/Mem2Reg/crash.ll
@@
-3,7
+3,7
@@
declare i32 @test1f()
declare i32 @test1f()
-define i32 @test1() {
+define i32 @test1()
personality i32 (...)* @__gxx_personality_v0
{
entry:
%whichFlag = alloca i32
%A = invoke i32 @test1f()
entry:
%whichFlag = alloca i32
%A = invoke i32 @test1f()
@@
-18,7
+18,7
@@
bb15:
ret i32 %B
lpad86:
ret i32 %B
lpad86:
- %exn = landingpad {i8*, i32}
personality i32 (...)* @__gxx_personality_v0
+ %exn = landingpad {i8*, i32}
cleanup
br label %bb15
cleanup
br label %bb15