Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: test/Transforms/NaCl/simplify-struct-reg-resume-crash.ll

Issue 992493002: Lower signatures exposing struct registers to byval struct pointers (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Final. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 ; RUN: not opt < %s -simplify-struct-reg-signatures -S
2
3 %struct = type { i8*, void(%struct)* }
4
5 declare i32 @__gxx_personality_v0(...)
6 declare void @something_to_invoke()
7
8 ; landingpad with struct
9 define void @landingpad_is_struct(%struct %str) {
10 invoke void @something_to_invoke()
11 to label %OK unwind label %Err
12
13 OK:
14 ret void
15
16 Err:
17 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
18 cleanup
19 resume %struct %str
20 }
OLDNEW
« no previous file with comments | « test/Transforms/NaCl/simplify-struct-reg-pad-crash.ll ('k') | test/Transforms/NaCl/simplify-struct-reg-signatures.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698