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

Side by Side Diff: tests_lit/llvm2ice_tests/unreachable.ll

Issue 2433243003: Subzero, MIPS32: Remove --skip-unimplemented from lit tests (Closed)
Patch Set: Reverted --skip-unimplemented in nacl-other-intrinsics.ll Created 4 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
« no previous file with comments | « tests_lit/llvm2ice_tests/uncond_br.ll ('k') | tests_lit/llvm2ice_tests/vector-align.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 the basic structure of the Unreachable instruction. 1 ; This tests the basic structure of the Unreachable instruction.
2 2
3 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 3 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
4 ; RUN: --target x8632 -i %s --args -O2 \ 4 ; RUN: --target x8632 -i %s --args -O2 \
5 ; RUN: | %if --need=target_X8632 --command FileCheck %s 5 ; RUN: | %if --need=target_X8632 --command FileCheck %s
6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
7 ; RUN: --target x8632 -i %s --args -Om1 \ 7 ; RUN: --target x8632 -i %s --args -Om1 \
8 ; RUN: | %if --need=target_X8632 --command FileCheck %s 8 ; RUN: | %if --need=target_X8632 --command FileCheck %s
9 9
10 ; RUN: %if --need=target_ARM32 \ 10 ; RUN: %if --need=target_ARM32 \
11 ; RUN: --command %p2i --filetype=obj \ 11 ; RUN: --command %p2i --filetype=obj \
12 ; RUN: --disassemble --target arm32 -i %s --args -O2 \ 12 ; RUN: --disassemble --target arm32 -i %s --args -O2 \
13 ; RUN: | %if --need=target_ARM32 \ 13 ; RUN: | %if --need=target_ARM32 \
14 ; RUN: --command FileCheck --check-prefix ARM32 %s 14 ; RUN: --command FileCheck --check-prefix ARM32 %s
15 ; RUN: %if --need=target_ARM32 \ 15 ; RUN: %if --need=target_ARM32 \
16 ; RUN: --command %p2i --filetype=obj \ 16 ; RUN: --command %p2i --filetype=obj \
17 ; RUN: --disassemble --target arm32 -i %s --args -Om1 \ 17 ; RUN: --disassemble --target arm32 -i %s --args -Om1 \
18 ; RUN: | %if --need=target_ARM32 \ 18 ; RUN: | %if --need=target_ARM32 \
19 ; RUN: --command FileCheck --check-prefix ARM32 %s 19 ; RUN: --command FileCheck --check-prefix ARM32 %s
20 20
21 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 21 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
22 ; RUN: --command %p2i --filetype=asm --assemble \ 22 ; RUN: --command %p2i --filetype=asm --assemble \
23 ; RUN: --disassemble --target mips32 -i %s --args -Om1 --skip-unimplemented \ 23 ; RUN: --disassemble --target mips32 -i %s --args -Om1 \
24 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 24 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
25 ; RUN: --command FileCheck --check-prefix MIPS32 %s 25 ; RUN: --command FileCheck --check-prefix MIPS32 %s
26 26
27 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 27 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
28 ; RUN: --command %p2i --filetype=asm --assemble \ 28 ; RUN: --command %p2i --filetype=asm --assemble \
29 ; RUN: --disassemble --target mips32 -i %s --args -O2 --skip-unimplemented \ 29 ; RUN: --disassemble --target mips32 -i %s --args -O2 \
30 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 30 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
31 ; RUN: --command FileCheck --check-prefix MIPS32-O2 %s 31 ; RUN: --command FileCheck --check-prefix MIPS32-O2 %s
32 32
33 define internal i32 @divide(i32 %num, i32 %den) { 33 define internal i32 @divide(i32 %num, i32 %den) {
34 entry: 34 entry:
35 %cmp = icmp ne i32 %den, 0 35 %cmp = icmp ne i32 %den, 0
36 br i1 %cmp, label %return, label %abort 36 br i1 %cmp, label %return, label %abort
37 37
38 abort: ; preds = %entry 38 abort: ; preds = %entry
39 unreachable 39 unreachable
(...skipping 20 matching lines...) Expand all
60 ; MIPS32: beqz 60 ; MIPS32: beqz
61 ; MIPS32: nop 61 ; MIPS32: nop
62 ; MIPS32: teq zero,zero 62 ; MIPS32: teq zero,zero
63 ; MIPS32: div 63 ; MIPS32: div
64 64
65 ; MIPS32-O2-LABEL: divide 65 ; MIPS32-O2-LABEL: divide
66 ; MIPS32-O2: bne 66 ; MIPS32-O2: bne
67 ; MIPS32-O2: nop 67 ; MIPS32-O2: nop
68 ; MIPS32-O2: teq zero,zero 68 ; MIPS32-O2: teq zero,zero
69 ; MIPS32-O2: div 69 ; MIPS32-O2: div
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/uncond_br.ll ('k') | tests_lit/llvm2ice_tests/vector-align.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698