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

Side by Side Diff: tests_lit/llvm2ice_tests/switch-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/store.ll ('k') | tests_lit/llvm2ice_tests/uncond_br.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 a switch statement, including multiple branches to the 1 ; This tests a switch statement, including multiple branches to the
2 ; same label which also results in phi instructions with multiple 2 ; same label which also results in phi instructions with multiple
3 ; entries for the same incoming edge. 3 ; entries for the same incoming edge.
4 4
5 ; For x86 see adv-switch-opt.ll 5 ; For x86 see adv-switch-opt.ll
6 6
7 ; TODO(jvoung): Update to -02 once the phi assignments is done for ARM 7 ; TODO(jvoung): Update to -02 once the phi assignments is done for ARM
8 ; RUN: %if --need=target_ARM32 \ 8 ; RUN: %if --need=target_ARM32 \
9 ; RUN: --command %p2i --filetype=obj --disassemble \ 9 ; RUN: --command %p2i --filetype=obj --disassemble \
10 ; RUN: --target arm32 -i %s --args -Om1 \ 10 ; RUN: --target arm32 -i %s --args -Om1 \
11 ; RUN: | %if --need=target_ARM32 \ 11 ; RUN: | %if --need=target_ARM32 \
12 ; RUN: --command FileCheck --check-prefix ARM32 %s 12 ; RUN: --command FileCheck --check-prefix ARM32 %s
13 13
14 ; TODO(jaydeep.patil): Using --skip-unimplemented for MIPS32
15 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 14 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
16 ; RUN: --command %p2i --filetype=asm --assemble --disassemble \ 15 ; RUN: --command %p2i --filetype=asm --assemble --disassemble \
17 ; RUN: --target mips32 -i %s --args -Om1 --skip-unimplemented \ 16 ; RUN: --target mips32 -i %s --args -Om1 \
18 ; RUN: -allow-externally-defined-symbols \ 17 ; RUN: -allow-externally-defined-symbols \
19 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 18 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
20 ; RUN: --command FileCheck --check-prefix MIPS32 %s 19 ; RUN: --command FileCheck --check-prefix MIPS32 %s
21 20
22 define internal i32 @testSwitch(i32 %a) { 21 define internal i32 @testSwitch(i32 %a) {
23 entry: 22 entry:
24 switch i32 %a, label %sw.default [ 23 switch i32 %a, label %sw.default [
25 i32 1, label %sw.epilog 24 i32 1, label %sw.epilog
26 i32 2, label %sw.epilog 25 i32 2, label %sw.epilog
27 i32 3, label %sw.epilog 26 i32 3, label %sw.epilog
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 ; MIPS32: li {{.*}},0 232 ; MIPS32: li {{.*}},0
234 ; MIPS32: li {{.*}},0 233 ; MIPS32: li {{.*}},0
235 ; MIPS32: bne {{.*}},{{.*}},{{.*}} <.LtestSwitchUndef64$local$__0> 234 ; MIPS32: bne {{.*}},{{.*}},{{.*}} <.LtestSwitchUndef64$local$__0>
236 ; MIPS32: li {{.*}},1 235 ; MIPS32: li {{.*}},1
237 ; MIPS32: beq {{.*}},{{.*}},{{.*}} <.LtestSwitchUndef64$sw.default> 236 ; MIPS32: beq {{.*}},{{.*}},{{.*}} <.LtestSwitchUndef64$sw.default>
238 ; MIPS32: .LtestSwitchUndef64$local$__0 237 ; MIPS32: .LtestSwitchUndef64$local$__0
239 ; MIPS32: b {{.*}} <.LtestSwitchUndef64$sw.default> 238 ; MIPS32: b {{.*}} <.LtestSwitchUndef64$sw.default>
240 ; MIPS32: .LtestSwitchUndef64$sw.default 239 ; MIPS32: .LtestSwitchUndef64$sw.default
241 ; MIPS32: li {{.*}},20 240 ; MIPS32: li {{.*}},20
242 ; MIPS32: jr ra 241 ; MIPS32: jr ra
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/store.ll ('k') | tests_lit/llvm2ice_tests/uncond_br.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698