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

Side by Side Diff: tests_lit/llvm2ice_tests/icmp.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/function_aligned.ll ('k') | tests_lit/llvm2ice_tests/int-arg.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 ; Simple tests for icmp with i8, i16, i32 operands. 1 ; Simple tests for icmp with i8, i16, i32 operands.
2 2
3 ; RUN: %if --need=allow_dump --need=target_MIPS32 --command %p2i \ 3 ; RUN: %if --need=allow_dump --need=target_MIPS32 --command %p2i \
4 ; RUN: --filetype=asm --target mips32 -i %s --args -O2 --skip-unimplemented \ 4 ; RUN: --filetype=asm --target mips32 -i %s --args -O2 \
5 ; RUN: -allow-externally-defined-symbols \ 5 ; RUN: -allow-externally-defined-symbols \
6 ; RUN: | %if --need=allow_dump --need=target_MIPS32 --command FileCheck %s \ 6 ; RUN: | %if --need=allow_dump --need=target_MIPS32 --command FileCheck %s \
7 ; RUN: --check-prefix=COMMON --check-prefix=MIPS32 7 ; RUN: --check-prefix=COMMON --check-prefix=MIPS32
8 ; RUN: %if --need=allow_dump --need=target_MIPS32 --command %p2i \ 8 ; RUN: %if --need=allow_dump --need=target_MIPS32 --command %p2i \
9 ; RUN: --filetype=asm --target mips32 -i %s --args -Om1 --skip-unimplemented \ 9 ; RUN: --filetype=asm --target mips32 -i %s --args -Om1 \
10 ; RUN: -allow-externally-defined-symbols \ 10 ; RUN: -allow-externally-defined-symbols \
11 ; RUN: | %if --need=allow_dump --need=target_MIPS32 --command FileCheck %s \ 11 ; RUN: | %if --need=allow_dump --need=target_MIPS32 --command FileCheck %s \
12 ; RUN: --check-prefix=COMMON --check-prefix=MIPS32 12 ; RUN: --check-prefix=COMMON --check-prefix=MIPS32
13 13
14 define internal i32 @icmpEq32(i32 %a, i32 %b) { 14 define internal i32 @icmpEq32(i32 %a, i32 %b) {
15 entry: 15 entry:
16 %cmp = icmp eq i32 %a, %b 16 %cmp = icmp eq i32 %a, %b
17 %cmp.ret_ext = zext i1 %cmp to i32 17 %cmp.ret_ext = zext i1 %cmp to i32
18 ret i32 %cmp.ret_ext 18 ret i32 %cmp.ret_ext
19 } 19 }
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 %a_16 = trunc i32 %a to i16 165 %a_16 = trunc i32 %a to i16
166 %b_16 = trunc i32 %b to i16 166 %b_16 = trunc i32 %b to i16
167 %icmp = icmp ugt i16 %b_16, %a_16 167 %icmp = icmp ugt i16 %b_16, %a_16
168 %ret = zext i1 %icmp to i32 168 %ret = zext i1 %icmp to i32
169 ret i32 %ret 169 ret i32 %ret
170 } 170 }
171 ; MIPS32-LABEL: icmpUgt16 171 ; MIPS32-LABEL: icmpUgt16
172 ; MIPS32: sll {{.*}}, {{.*}}, 16 172 ; MIPS32: sll {{.*}}, {{.*}}, 16
173 ; MIPS32: sll {{.*}}, {{.*}}, 16 173 ; MIPS32: sll {{.*}}, {{.*}}, 16
174 ; MIPS32: sltu 174 ; MIPS32: sltu
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/function_aligned.ll ('k') | tests_lit/llvm2ice_tests/int-arg.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698