projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support pointer comparisons against constants, when looking at the inline-cost
[oota-llvm.git]
/
test
/
Transforms
/
Inline
/
invoke_test-3.ll
diff --git
a/test/Transforms/Inline/invoke_test-3.ll
b/test/Transforms/Inline/invoke_test-3.ll
index b360526fb3484bf3082c09bdb15335ae30cec640..f5ce95aa516cf106dcc25d1f166e5cbaa3433a45 100644
(file)
--- a/
test/Transforms/Inline/invoke_test-3.ll
+++ b/
test/Transforms/Inline/invoke_test-3.ll
@@
-14,7
+14,9
@@
cont: ; preds = %0
exc: ; preds = %0a
; This just rethrows the exception!
exc: ; preds = %0a
; This just rethrows the exception!
- unwind
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ resume { i8*, i32 } %exn
}
; caller returns true if might_throw throws an exception... which gets
}
; caller returns true if might_throw throws an exception... which gets
@@
-28,5
+30,9
@@
cont: ; preds = %0
Handler: ; preds = %0
; This consumes an exception thrown by might_throw
Handler: ; preds = %0
; This consumes an exception thrown by might_throw
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
ret i32 1
}
ret i32 1
}
+
+declare i32 @__gxx_personality_v0(...)