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

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

Issue 410743005: Ensure that llvm-mc parses unit tests in x86-32 mode. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Remove redundant test line. 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 ; RUN: %llvm2ice -O2 --verbose none %s | llvm-mc -x86-asm-syntax=intel 11 ; RUN: %llvm2ice -O2 --verbose none %s \
12 ; RUN: %llvm2ice -Om1 --verbose none %s | llvm-mc -x86-asm-syntax=intel 12 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj
13 ; RUN: %llvm2ice -Om1 --verbose none %s \
14 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj
13 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 15 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
14 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 16 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
15 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 17 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
16 ; RUN: | FileCheck --check-prefix=DUMP %s 18 ; RUN: | FileCheck --check-prefix=DUMP %s
17 19
18 declare i8* @llvm.nacl.read.tp() 20 declare i8* @llvm.nacl.read.tp()
19 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 21 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
20 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 22 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
21 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) 23 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1)
22 declare void @llvm.nacl.longjmp(i8*, i32) 24 declare void @llvm.nacl.longjmp(i8*, i32)
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 } 456 }
455 ; CHECK-LABEL: test_stacksave_multiple 457 ; CHECK-LABEL: test_stacksave_multiple
456 ; At least 3 copies of esp, but probably more from having to do the allocas. 458 ; At least 3 copies of esp, but probably more from having to do the allocas.
457 ; CHECK: mov {{.*}}, esp 459 ; CHECK: mov {{.*}}, esp
458 ; CHECK: mov {{.*}}, esp 460 ; CHECK: mov {{.*}}, esp
459 ; CHECK: mov {{.*}}, esp 461 ; CHECK: mov {{.*}}, esp
460 ; CHECK: mov esp, {{.*}} 462 ; CHECK: mov esp, {{.*}}
461 463
462 ; ERRORS-NOT: ICE translation error 464 ; ERRORS-NOT: ICE translation error
463 ; DUMP-NOT: SZ 465 ; 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