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

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

Issue 2433243003: Subzero, MIPS32: Remove --skip-unimplemented from lit tests (Closed)
Patch Set: Created 4 years, 2 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 is a test of C-level conversion operations that clang lowers 1 ; This is a test of C-level conversion operations that clang lowers
2 ; into pairs of shifts. 2 ; into pairs of shifts.
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 \ 5 ; RUN: --target x8632 -i %s --args -O2 \
6 ; RUN: | %if --need=target_X8632 --command FileCheck %s 6 ; RUN: | %if --need=target_X8632 --command FileCheck %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 \ 9 ; RUN: --target x8632 -i %s --args -Om1 \
10 ; RUN: | %if --need=target_X8632 --command FileCheck %s 10 ; RUN: | %if --need=target_X8632 --command FileCheck %s
11 11
12 ; RUN: %if --need=target_ARM32 \ 12 ; RUN: %if --need=target_ARM32 \
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: | %if --need=target_ARM32 \ 15 ; RUN: | %if --need=target_ARM32 \
16 ; RUN: --command FileCheck --check-prefix ARM32 %s 16 ; RUN: --command FileCheck --check-prefix ARM32 %s
17 17
18 ; RUN: %if --need=target_ARM32 \ 18 ; RUN: %if --need=target_ARM32 \
19 ; RUN: --command %p2i --filetype=obj \ 19 ; RUN: --command %p2i --filetype=obj \
20 ; RUN: --disassemble --target arm32 -i %s --args -Om1 \ 20 ; RUN: --disassemble --target arm32 -i %s --args -Om1 \
21 ; RUN: | %if --need=target_ARM32 \ 21 ; RUN: | %if --need=target_ARM32 \
22 ; RUN: --command FileCheck --check-prefix ARM32 %s 22 ; RUN: --command FileCheck --check-prefix ARM32 %s
23 23
24 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 24 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
25 ; RUN: --command %p2i --filetype=asm --assemble \ 25 ; RUN: --command %p2i --filetype=asm --assemble \
26 ; RUN: --disassemble --target mips32 -i %s --args -O2 --skip-unimplemented \ 26 ; RUN: --disassemble --target mips32 -i %s --args -O2 \
27 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 27 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
28 ; RUN: --command FileCheck --check-prefix MIPS32-O2 --check-prefix MIPS32 %s 28 ; RUN: --command FileCheck --check-prefix MIPS32-O2 --check-prefix MIPS32 %s
29 29
30 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 30 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
31 ; RUN: --command %p2i --filetype=asm --assemble \ 31 ; RUN: --command %p2i --filetype=asm --assemble \
32 ; RUN: --disassemble --target mips32 -i %s --args -Om1 --skip-unimplemented \ 32 ; RUN: --disassemble --target mips32 -i %s --args -Om1 \
33 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 33 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
34 ; RUN: --command FileCheck --check-prefix MIPS32-OM1 --check-prefix MIPS32 %s 34 ; RUN: --command FileCheck --check-prefix MIPS32-OM1 --check-prefix MIPS32 %s
35 35
36 @i1 = internal global [4 x i8] zeroinitializer, align 4 36 @i1 = internal global [4 x i8] zeroinitializer, align 4
37 @i2 = internal global [4 x i8] zeroinitializer, align 4 37 @i2 = internal global [4 x i8] zeroinitializer, align 4
38 @u1 = internal global [4 x i8] zeroinitializer, align 4 38 @u1 = internal global [4 x i8] zeroinitializer, align 4
39 39
40 define internal void @conv1() { 40 define internal void @conv1() {
41 entry: 41 entry:
42 %__0 = bitcast [4 x i8]* @u1 to i32* 42 %__0 = bitcast [4 x i8]* @u1 to i32*
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 entry: 287 entry:
288 %result = ashr i64 %val, 40 288 %result = ashr i64 %val, 40
289 ret i64 %result 289 ret i64 %result
290 } 290 }
291 ; CHECK-LABEL: ashrImm64GreaterThan32 291 ; CHECK-LABEL: ashrImm64GreaterThan32
292 ; CHECK: sar {{.*}},0x1f 292 ; CHECK: sar {{.*}},0x1f
293 ; CHECK: shrd {{.*}},0x8 293 ; CHECK: shrd {{.*}},0x8
294 ; MIPS32-LABEL: ashrImm64GreaterThan32 294 ; MIPS32-LABEL: ashrImm64GreaterThan32
295 ; MIPS32: sra {{.*}},[[VAL_HI:.*]],0x8 295 ; MIPS32: sra {{.*}},[[VAL_HI:.*]],0x8
296 ; MIPS32: sra {{.*}},[[VAL_HI]],0x1f 296 ; MIPS32: sra {{.*}},[[VAL_HI]],0x1f
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698