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

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

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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-atomic-intrinsics.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: %p2i -i %s --insts --args -allow-externally-defined-symbols \ 3 ; RUN: %p2i -i %s --insts --args -allow-externally-defined-symbols \
4 ; RUN: | FileCheck %s 4 ; RUN: | FileCheck %s
5 ; RUN: %if --need=allow_disable_ir_gen --command \ 5 ; RUN: %p2i -i %s --args -notranslate -timing \
6 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 6 ; RUN: -allow-externally-defined-symbols | \
7 ; RUN: -allow-externally-defined-symbols \
8 ; RUN: | %if --need=allow_disable_ir_gen --command \
9 ; RUN: FileCheck --check-prefix=NOIR %s 7 ; RUN: FileCheck --check-prefix=NOIR %s
10 8
11 declare i8* @llvm.nacl.read.tp() 9 declare i8* @llvm.nacl.read.tp()
12 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 10 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
13 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 11 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
14 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) 12 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1)
15 declare void @llvm.nacl.longjmp(i8*, i32) 13 declare void @llvm.nacl.longjmp(i8*, i32)
16 declare i32 @llvm.nacl.setjmp(i8*) 14 declare i32 @llvm.nacl.setjmp(i8*)
17 declare float @llvm.sqrt.f32(float) 15 declare float @llvm.sqrt.f32(float)
18 declare double @llvm.sqrt.f64(double) 16 declare double @llvm.sqrt.f64(double)
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave() 394 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave()
397 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4 395 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4
398 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1 396 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1
399 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1 397 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1
400 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1 398 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1
401 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1) 399 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1)
402 ; CHECK-NEXT: ret void 400 ; CHECK-NEXT: ret void
403 ; CHECK-NEXT: } 401 ; CHECK-NEXT: }
404 402
405 ; NOIR: Total across all functions 403 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/nacl-atomic-intrinsics.ll ('k') | tests_lit/reader_tests/phi.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698