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

Side by Side Diff: tests_lit/reader_tests/nacl-other-intrinsics.ll

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. Created 6 years, 2 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 | « tests_lit/reader_tests/nacl-fake-intrinsic.ll ('k') | tests_lit/reader_tests/phi.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; This tests parsing NaCl intrinsics not related to atomic operations. 1 ; This tests parsing NaCl intrinsics not related to atomic operations.
2 2
3 ; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \ 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
5 ; RUN: -allow-pnacl-reader-error-recovery \
6 ; RUN: -allow-local-symbol-tables \
7 ; RUN: | FileCheck %s
8 4
9 declare i8* @llvm.nacl.read.tp() 5 declare i8* @llvm.nacl.read.tp()
10 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 6 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
11 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 7 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
12 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) 8 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1)
13 declare void @llvm.nacl.longjmp(i8*, i32) 9 declare void @llvm.nacl.longjmp(i8*, i32)
14 declare i32 @llvm.nacl.setjmp(i8*) 10 declare i32 @llvm.nacl.setjmp(i8*)
15 declare float @llvm.sqrt.f32(float) 11 declare float @llvm.sqrt.f32(float)
16 declare double @llvm.sqrt.f64(double) 12 declare double @llvm.sqrt.f64(double)
17 declare void @llvm.trap() 13 declare void @llvm.trap()
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 ; CHECK-NEXT: %y = call i32 @foo(i32 %x) 332 ; CHECK-NEXT: %y = call i32 @foo(i32 %x)
337 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave() 333 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave()
338 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4 334 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4
339 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1 335 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1
340 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1 336 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1
341 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1 337 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1
342 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1) 338 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1)
343 ; CHECK-NEXT: ret void 339 ; CHECK-NEXT: ret void
344 ; CHECK-NEXT: } 340 ; CHECK-NEXT: }
345 341
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/nacl-fake-intrinsic.ll ('k') | tests_lit/reader_tests/phi.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698