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

Side by Side Diff: tests_lit/llvm2ice_tests/branch-opt.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/arith.ll ('k') | tests_lit/llvm2ice_tests/callArgs.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 ; Tests the branch optimizations under O2 (against a lack of 1 ; Tests the branch optimizations under O2 (against a lack of
2 ; optimizations under Om1). 2 ; optimizations under Om1).
3 3
4 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 4 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
5 ; RUN: --target x8632 -i %s --args -O2 -allow-externally-defined-symbols \ 5 ; RUN: --target x8632 -i %s --args -O2 -allow-externally-defined-symbols \
6 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix=O2 %s 6 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix=O2 %s
7 7
8 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 8 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
9 ; RUN: --target x8632 -i %s --args -Om1 -allow-externally-defined-symbols \ 9 ; RUN: --target x8632 -i %s --args -Om1 -allow-externally-defined-symbols \
10 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix=OM1 %s 10 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix=OM1 %s
11 11
12 ; RUN: %if --need=target_ARM32_dump \ 12 ; RUN: %if --need=target_ARM32_dump \
13 ; RUN: --command %p2i --filetype=obj \ 13 ; RUN: --command %p2i --filetype=obj \
14 ; RUN: --disassemble --target arm32 -i %s --args -O2 \ 14 ; RUN: --disassemble --target arm32 -i %s --args -O2 \
15 ; RUN: -allow-externally-defined-symbols \ 15 ; RUN: -allow-externally-defined-symbols \
16 ; RUN: | %if --need=target_ARM32_dump \ 16 ; RUN: | %if --need=target_ARM32_dump \
17 ; RUN: --command FileCheck --check-prefix ARM32O2 %s 17 ; RUN: --command FileCheck --check-prefix ARM32O2 %s
18 18
19 ; RUN: %if --need=target_ARM32 \ 19 ; RUN: %if --need=target_ARM32 \
20 ; RUN: --command %p2i --filetype=obj \ 20 ; RUN: --command %p2i --filetype=obj \
21 ; RUN: --disassemble --target arm32 -i %s --args -Om1 \ 21 ; RUN: --disassemble --target arm32 -i %s --args -Om1 \
22 ; RUN: -allow-externally-defined-symbols \ 22 ; RUN: -allow-externally-defined-symbols \
23 ; RUN: | %if --need=target_ARM32 \ 23 ; RUN: | %if --need=target_ARM32 \
24 ; RUN: --command FileCheck \ 24 ; RUN: --command FileCheck \
25 ; RUN: --check-prefix ARM32OM1 %s 25 ; RUN: --check-prefix ARM32OM1 %s
26 26
27 ; TODO(jaydeep.patil): Using --skip-unimplemented for MIPS32
28 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 27 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
29 ; RUN: --command %p2i --filetype=asm --assemble \ 28 ; RUN: --command %p2i --filetype=asm --assemble \
30 ; RUN: --disassemble --target mips32 -i %s --args -O2 \ 29 ; RUN: --disassemble --target mips32 -i %s --args -O2 \
31 ; RUN: --skip-unimplemented \
32 ; RUN: -allow-externally-defined-symbols \ 30 ; RUN: -allow-externally-defined-symbols \
33 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 31 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
34 ; RUN: --command FileCheck --check-prefix MIPS32O2 %s 32 ; RUN: --command FileCheck --check-prefix MIPS32O2 %s
35 33
36 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 34 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
37 ; RUN: --command %p2i --filetype=asm --assemble \ 35 ; RUN: --command %p2i --filetype=asm --assemble \
38 ; RUN: --disassemble --target mips32 -i %s --args -Om1 \ 36 ; RUN: --disassemble --target mips32 -i %s --args -Om1 \
39 ; RUN: --skip-unimplemented \
40 ; RUN: -allow-externally-defined-symbols \ 37 ; RUN: -allow-externally-defined-symbols \
41 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 38 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
42 ; RUN: --command FileCheck \ 39 ; RUN: --command FileCheck \
43 ; RUN: --check-prefix MIPS32OM1 %s 40 ; RUN: --check-prefix MIPS32OM1 %s
44 41
45 declare void @dummy() 42 declare void @dummy()
46 43
47 ; An unconditional branch to the next block should be removed. 44 ; An unconditional branch to the next block should be removed.
48 define internal void @testUncondToNextBlock() { 45 define internal void @testUncondToNextBlock() {
49 entry: 46 entry:
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 ; ARM32OM1-NEXT: bl {{.*}} dummy 301 ; ARM32OM1-NEXT: bl {{.*}} dummy
305 302
306 ; MIPS32O2-LABEL: testUncondToBlockAfterContract 303 ; MIPS32O2-LABEL: testUncondToBlockAfterContract
307 ; MIPS32O2: jal {{.*}} dummy 304 ; MIPS32O2: jal {{.*}} dummy
308 ; MIPS32O2: .LtestUncondToBlockAfterContract$target 305 ; MIPS32O2: .LtestUncondToBlockAfterContract$target
309 306
310 ; MIPS32OM1-LABEL: testUncondToBlockAfterContract 307 ; MIPS32OM1-LABEL: testUncondToBlockAfterContract
311 ; MIPS32OM1: jal {{.*}} dummy 308 ; MIPS32OM1: jal {{.*}} dummy
312 ; MIPS32OM1: b 309 ; MIPS32OM1: b
313 ; MIPS32OM1: .LtestUncondToBlockAfterContract$target 310 ; MIPS32OM1: .LtestUncondToBlockAfterContract$target
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/arith.ll ('k') | tests_lit/llvm2ice_tests/callArgs.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698