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

Side by Side Diff: test/NaCl/X86/nacl-setlongjmp-intrinsics.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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
« no previous file with comments | « test/NaCl/X86/nacl-read-tp-intrinsic.ll ('k') | test/NaCl/X86/nacl64-addrmodes.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; RUN: pnacl-llc -mtriple=i386-unknown-nacl -filetype=asm %s -o - \
2 ; RUN: | FileCheck %s --check-prefix=X86
3 ; Test that @llvm.nacl.{set|long}jmp intrinsics calls get translated to library
4 ; calls as expected.
5
6 declare i32 @llvm.nacl.setjmp(i8*)
7 declare void @llvm.nacl.longjmp(i8*, i32)
8
9 define void @foo(i8* %arg) {
10 %num = call i32 @llvm.nacl.setjmp(i8* %arg)
11 ; X86: calll setjmp
12
13 call void @llvm.nacl.longjmp(i8* %arg, i32 %num)
14 ; X86: calll longjmp
15
16 ret void
17 }
18
OLDNEW
« no previous file with comments | « test/NaCl/X86/nacl-read-tp-intrinsic.ll ('k') | test/NaCl/X86/nacl64-addrmodes.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698