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

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

Issue 2433243003: Subzero, MIPS32: Remove --skip-unimplemented from lit tests (Closed)
Patch Set: 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
OLDNEW
1 ; This is a basic test of the alloca instruction. 1 ; This is a basic test of the alloca 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 -allow-externally-defined-symbols \ 4 ; RUN: --target x8632 -i %s --args -O2 -allow-externally-defined-symbols \
5 ; RUN: | %if --need=target_X8632 --command FileCheck %s 5 ; RUN: | %if --need=target_X8632 --command FileCheck %s
6 6
7 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 7 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
8 ; RUN: --target x8632 -i %s --args -Om1 -allow-externally-defined-symbols \ 8 ; RUN: --target x8632 -i %s --args -Om1 -allow-externally-defined-symbols \
9 ; RUN: | %if --need=target_X8632 --command FileCheck \ 9 ; RUN: | %if --need=target_X8632 --command FileCheck \
10 ; RUN: --check-prefix CHECK-OPTM1 %s 10 ; RUN: --check-prefix CHECK-OPTM1 %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: -allow-externally-defined-symbols \ 15 ; RUN: -allow-externally-defined-symbols \
16 ; RUN: | %if --need=target_ARM32 \ 16 ; RUN: | %if --need=target_ARM32 \
17 ; RUN: --command FileCheck --check-prefix ARM32 --check-prefix=ARM-OPT2 %s 17 ; RUN: --command FileCheck --check-prefix ARM32 --check-prefix=ARM-OPT2 %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 --check-prefix ARM32 --check-prefix=ARM-OPTM1 %s 24 ; RUN: --command FileCheck --check-prefix ARM32 --check-prefix=ARM-OPTM1 %s
25 25
26 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 26 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
27 ; RUN: --command %p2i --filetype=asm --assemble \ 27 ; RUN: --command %p2i --filetype=asm --assemble \
28 ; RUN: --disassemble --target mips32 -i %s --args -O2 --skip-unimplemented \ 28 ; RUN: --disassemble --target mips32 -i %s --args -O2 \
29 ; RUN: -allow-externally-defined-symbols \ 29 ; RUN: -allow-externally-defined-symbols \
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 --check-prefix=MIPS32-OPT2 %s 31 ; RUN: --command FileCheck --check-prefix MIPS32 --check-prefix=MIPS32-OPT2 %s
32 32
33 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 33 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
34 ; RUN: --command %p2i --filetype=asm --assemble \ 34 ; RUN: --command %p2i --filetype=asm --assemble \
35 ; RUN: --disassemble --target mips32 -i %s --args -Om1 --skip-unimplemented \ 35 ; RUN: --disassemble --target mips32 -i %s --args -Om1 \
36 ; RUN: -allow-externally-defined-symbols \ 36 ; RUN: -allow-externally-defined-symbols \
37 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 37 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
38 ; RUN: --command FileCheck --check-prefix MIPS32 --check-prefix=MIPS32-OPTM1 % s 38 ; RUN: --command FileCheck --check-prefix MIPS32 --check-prefix=MIPS32-OPTM1 % s
39 39
40 define internal void @fixed_416_align_16(i32 %n) { 40 define internal void @fixed_416_align_16(i32 %n) {
41 entry: 41 entry:
42 %array = alloca i8, i32 416, align 16 42 %array = alloca i8, i32 416, align 16
43 %__2 = ptrtoint i8* %array to i32 43 %__2 = ptrtoint i8* %array to i32
44 call void @f1(i32 %__2) 44 call void @f1(i32 %__2)
45 ret void 45 ret void
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 %p1 = bitcast i8* %a1 to i32* 395 %p1 = bitcast i8* %a1 to i32*
396 %p2 = bitcast i8* %a2 to i32* 396 %p2 = bitcast i8* %a2 to i32*
397 %p3 = bitcast i8* %a3 to i32* 397 %p3 = bitcast i8* %a3 to i32*
398 store i32 %arg, i32* %p1, align 1 398 store i32 %arg, i32* %p1, align 1
399 store i32 %arg, i32* %p2, align 1 399 store i32 %arg, i32* %p2, align 1
400 store i32 %arg, i32* %p3, align 1 400 store i32 %arg, i32* %p3, align 1
401 ret void 401 ret void
402 } 402 }
403 ; CHECK-LABEL: var_with_frameptr 403 ; CHECK-LABEL: var_with_frameptr
404 ; CHECK: mov ebp,esp 404 ; CHECK: mov ebp,esp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698