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

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

Issue 411693003: Validate the assembly code that Subzero generates in unit tests. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Comment out failing RUN lines. Created 6 years, 5 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
1 ; This tests the NaCl intrinsics not related to atomic operations. 1 ; This tests the NaCl intrinsics not related to atomic operations.
2 2
3 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s 3 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s
4 ; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck %s 4 ; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck %s
5 5
6 ; Do another run w/ O2 and a different check-prefix (otherwise O2 and Om1 6 ; Do another run w/ O2 and a different check-prefix (otherwise O2 and Om1
7 ; share the same "CHECK" prefix). This separate run helps check that 7 ; share the same "CHECK" prefix). This separate run helps check that
8 ; some code is optimized out. 8 ; some code is optimized out.
9 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s --check-prefix=CHECKO2REM 9 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s --check-prefix=CHECKO2REM
10 10
11 ; TODO: The next two lines cause this test to fail.
12 ; RUIN: %llvm2ice -O2 --verbose none %s | llvm-mc -x86-asm-syntax=intel
13 ; RUIN: %llvm2ice -Om1 --verbose none %s | llvm-mc -x86-asm-syntax=intel
11 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 14 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
12 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 15 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
13 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 16 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
14 ; RUN: | FileCheck --check-prefix=DUMP %s 17 ; RUN: | FileCheck --check-prefix=DUMP %s
15 18
16 declare i8* @llvm.nacl.read.tp() 19 declare i8* @llvm.nacl.read.tp()
17 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 20 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
18 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 21 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
19 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) 22 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1)
20 declare void @llvm.nacl.longjmp(i8*, i32) 23 declare void @llvm.nacl.longjmp(i8*, i32)
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 } 452 }
450 ; CHECK-LABEL: test_stacksave_multiple 453 ; CHECK-LABEL: test_stacksave_multiple
451 ; At least 3 copies of esp, but probably more from having to do the allocas. 454 ; At least 3 copies of esp, but probably more from having to do the allocas.
452 ; CHECK: mov {{.*}}, esp 455 ; CHECK: mov {{.*}}, esp
453 ; CHECK: mov {{.*}}, esp 456 ; CHECK: mov {{.*}}, esp
454 ; CHECK: mov {{.*}}, esp 457 ; CHECK: mov {{.*}}, esp
455 ; CHECK: mov esp, {{.*}} 458 ; CHECK: mov esp, {{.*}}
456 459
457 ; ERRORS-NOT: ICE translation error 460 ; ERRORS-NOT: ICE translation error
458 ; DUMP-NOT: SZ 461 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll ('k') | tests_lit/llvm2ice_tests/select-opt.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698