Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 ; RUN: not opt < %s -simplify-struct-reg-signatures -S | |
| 2 ; REQUIRES: asserts | |
|
JF
2015/03/20 16:41:32
Same.
Mircea Trofin
2015/03/20 18:31:32
Done.
| |
| 3 | |
| 4 %struct = type { i8*, void(%struct)* } | |
| 5 | |
| 6 declare i32 @__gxx_personality_v0(...) | |
| 7 declare void @something_to_invoke() | |
| 8 | |
| 9 ; landingpad with struct | |
| 10 define void @landingpad_is_struct(%struct %str) { | |
| 11 invoke void @something_to_invoke() | |
| 12 to label %OK unwind label %Err | |
| 13 | |
| 14 OK: | |
| 15 ret void | |
| 16 | |
| 17 Err: | |
| 18 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 | |
| 19 cleanup | |
| 20 resume %struct %str | |
| 21 } | |
| OLD | NEW |