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

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

Issue 696383004: Disable Subzero IR generation for performance testing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in patch set 2, and add tests. Created 6 years, 1 month 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
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 | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %p2i -i %s --args -notranslate -timing -noIRgen \
5 ; RUN: | %if --need=allow_disable_ir_gen \
6 ; RUN: --command FileCheck --check-prefix=NOIR %s
4 7
5 declare i8* @llvm.nacl.read.tp() 8 declare i8* @llvm.nacl.read.tp()
6 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 9 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
7 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 10 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
8 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) 11 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1)
9 declare void @llvm.nacl.longjmp(i8*, i32) 12 declare void @llvm.nacl.longjmp(i8*, i32)
10 declare i32 @llvm.nacl.setjmp(i8*) 13 declare i32 @llvm.nacl.setjmp(i8*)
11 declare float @llvm.sqrt.f32(float) 14 declare float @llvm.sqrt.f32(float)
12 declare double @llvm.sqrt.f64(double) 15 declare double @llvm.sqrt.f64(double)
13 declare void @llvm.trap() 16 declare void @llvm.trap()
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 ; CHECK-NEXT: %y = call i32 @foo(i32 %x) 335 ; CHECK-NEXT: %y = call i32 @foo(i32 %x)
333 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave() 336 ; CHECK-NEXT: %sp3 = call i32 @llvm.stacksave()
334 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4 337 ; CHECK-NEXT: %tmp3 = alloca i8, i32 %x_4, align 4
335 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1 338 ; CHECK-NEXT: store i32 %y, i32* %tmp1, align 1
336 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1 339 ; CHECK-NEXT: store i32 %x, i32* %tmp2, align 1
337 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1 340 ; CHECK-NEXT: store i32 %x, i32* %tmp3, align 1
338 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1) 341 ; CHECK-NEXT: call void @llvm.stackrestore(i32 %sp1)
339 ; CHECK-NEXT: ret void 342 ; CHECK-NEXT: ret void
340 ; CHECK-NEXT: } 343 ; CHECK-NEXT: }
341 344
345 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698