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

Side by Side Diff: tests_lit/llvm2ice_tests/nacl-atomic-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 each of the supported NaCl atomic instructions for every 1 ; This tests each of the supported NaCl atomic instructions for every
2 ; size allowed. 2 ; size allowed.
3 3
4 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s 4 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s
5 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s --check-prefix=CHECKO2REM 5 ; RUN: %llvm2ice -O2 --verbose none %s | FileCheck %s --check-prefix=CHECKO2REM
6 ; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck %s 6 ; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck %s
7 ; RUN: %llvm2ice -O2 --verbose none %s | llvm-mc -x86-asm-syntax=intel 7 ; RUN: %llvm2ice -O2 --verbose none %s \
8 ; RUN: %llvm2ice -Om1 --verbose none %s | llvm-mc -x86-asm-syntax=intel 8 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj
9 ; RUN: %llvm2ice -Om1 --verbose none %s \
10 ; RUN: | llvm-mc -arch=x86 -x86-asm-syntax=intel -filetype=obj
9 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 11 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
10 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 12 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
11 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 13 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
12 ; RUN: | FileCheck --check-prefix=DUMP %s 14 ; RUN: | FileCheck --check-prefix=DUMP %s
13 15
14 declare i8 @llvm.nacl.atomic.load.i8(i8*, i32) 16 declare i8 @llvm.nacl.atomic.load.i8(i8*, i32)
15 declare i16 @llvm.nacl.atomic.load.i16(i16*, i32) 17 declare i16 @llvm.nacl.atomic.load.i16(i16*, i32)
16 declare i32 @llvm.nacl.atomic.load.i32(i32*, i32) 18 declare i32 @llvm.nacl.atomic.load.i32(i32*, i32)
17 declare i64 @llvm.nacl.atomic.load.i64(i64*, i32) 19 declare i64 @llvm.nacl.atomic.load.i64(i64*, i32)
18 declare void @llvm.nacl.atomic.store.i8(i8, i8*, i32) 20 declare void @llvm.nacl.atomic.store.i8(i8, i8*, i32)
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 ret i32 %z 902 ret i32 %z
901 } 903 }
902 ; CHECK-LABEL: test_atomic_is_lock_free_can_dce 904 ; CHECK-LABEL: test_atomic_is_lock_free_can_dce
903 ; CHECK: mov {{.*}}, 1 905 ; CHECK: mov {{.*}}, 1
904 ; CHECK: ret 906 ; CHECK: ret
905 ; CHECK: add 907 ; CHECK: add
906 ; CHECK: ret 908 ; CHECK: ret
907 909
908 ; ERRORS-NOT: ICE translation error 910 ; ERRORS-NOT: ICE translation error
909 ; DUMP-NOT: SZ 911 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/nacl-atomic-fence-all.ll ('k') | tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698