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

Side by Side Diff: tests_lit/llvm2ice_tests/callindirect.pnacl.ll

Issue 2384983002: Subzero: Remove --skip-unimplemented from ARM lit tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
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
« no previous file with comments | « tests_lit/llvm2ice_tests/branch-opt.ll ('k') | tests_lit/llvm2ice_tests/convert.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 ; Test of multiple indirect calls to the same target. Each call 1 ; Test of multiple indirect calls to the same target. Each call
2 ; should be to the same operand, whether it's in a register or on the 2 ; should be to the same operand, whether it's in a register or on the
3 ; stack. 3 ; stack.
4 4
5 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 5 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
6 ; RUN: --target x8632 -i %s --args -O2 \ 6 ; RUN: --target x8632 -i %s --args -O2 \
7 ; RUN: | %if --need=target_X8632 --command FileCheck %s 7 ; RUN: | %if --need=target_X8632 --command FileCheck %s
8 ; RUN: %if --need=allow_dump --need=target_X8632 --command %p2i --filetype=asm \ 8 ; RUN: %if --need=allow_dump --need=target_X8632 --command %p2i --filetype=asm \
9 ; RUN: --assemble --disassemble -i %s --args -O2 \ 9 ; RUN: --assemble --disassemble -i %s --args -O2 \
10 ; RUN: | %if --need=allow_dump --need=target_X8632 --command FileCheck %s 10 ; RUN: | %if --need=allow_dump --need=target_X8632 --command FileCheck %s
11 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 11 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
12 ; RUN: --target x8632 -i %s --args -Om1 \ 12 ; RUN: --target x8632 -i %s --args -Om1 \
13 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix=OPTM1 %s 13 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix=OPTM1 %s
14 14
15 ; RUN: %if --need=target_X8664 --command %p2i --filetype=obj --disassemble \ 15 ; RUN: %if --need=target_X8664 --command %p2i --filetype=obj --disassemble \
16 ; RUN: --target x8664 -i %s --args -O2 \ 16 ; RUN: --target x8664 -i %s --args -O2 \
17 ; RUN: | %if --need=target_X8664 --command FileCheck --check-prefix X8664 %s 17 ; RUN: | %if --need=target_X8664 --command FileCheck --check-prefix X8664 %s
18 ; RUN: %if --need=allow_dump --need=target_X8664 --command %p2i --filetype=asm \ 18 ; RUN: %if --need=allow_dump --need=target_X8664 --command %p2i --filetype=asm \
19 ; RUN: --assemble --disassemble --target x8664 -i %s --args -O2 \ 19 ; RUN: --assemble --disassemble --target x8664 -i %s --args -O2 \
20 ; RUN: | %if --need=allow_dump --need=target_X8664 \ 20 ; RUN: | %if --need=allow_dump --need=target_X8664 \
21 ; RUN: --command FileCheck --check-prefix=X8664 %s 21 ; RUN: --command FileCheck --check-prefix=X8664 %s
22 ; RUN: %if --need=target_X8664 --command %p2i --filetype=obj --disassemble \ 22 ; RUN: %if --need=target_X8664 --command %p2i --filetype=obj --disassemble \
23 ; RUN: --target x8664 -i %s --args -Om1 \ 23 ; RUN: --target x8664 -i %s --args -Om1 \
24 ; RUN: | %if --need=target_X8664 \ 24 ; RUN: | %if --need=target_X8664 \
25 ; RUN: --command FileCheck --check-prefix=X8664-OPTM1 %s 25 ; RUN: --command FileCheck --check-prefix=X8664-OPTM1 %s
26 26
27 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented) 27 ; RUN: %if --need=target_ARM32 \
28 ; once enough infrastructure is in. Also, switch to --filetype=obj 28 ; RUN: --command %p2i --filetype=obj \
29 ; when possible. 29 ; RUN: --disassemble --target arm32 -i %s --args -O2 \
30 ; RUN: %if --need=target_ARM32 --need=allow_dump \ 30 ; RUN: | %if --need=target_ARM32 \
31 ; RUN: --command %p2i --filetype=asm --assemble \
32 ; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \
33 ; RUN: | %if --need=target_ARM32 --need=allow_dump \
34 ; RUN: --command FileCheck --check-prefix ARM32 %s 31 ; RUN: --command FileCheck --check-prefix ARM32 %s
35 ; RUN: %if --need=target_ARM32 --need=allow_dump \ 32 ; RUN: %if --need=target_ARM32 \
36 ; RUN: --command %p2i --filetype=asm --assemble \ 33 ; RUN: --command %p2i --filetype=obj \
37 ; RUN: --disassemble --target arm32 -i %s --args -Om1 --skip-unimplemented \ 34 ; RUN: --disassemble --target arm32 -i %s --args -Om1 \
38 ; RUN: | %if --need=target_ARM32 --need=allow_dump \ 35 ; RUN: | %if --need=target_ARM32_dump \
39 ; RUN: --command FileCheck --check-prefix ARM32 %s 36 ; RUN: --command FileCheck --check-prefix ARM32 %s
40 37
41 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 38 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
42 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 39 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
43 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 40 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
44 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 41 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
45 42
46 define internal void @CallIndirect(i32 %f) { 43 define internal void @CallIndirect(i32 %f) {
47 entry: 44 entry:
48 %__1 = inttoptr i32 %f to void ()* 45 %__1 = inttoptr i32 %f to void ()*
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 ; e8 00 00 00 00 call {{.*}} *ABS*+0x103bc 183 ; e8 00 00 00 00 call {{.*}} *ABS*+0x103bc
187 ; 184 ;
188 ; ARM32-LABEL: CallConst 185 ; ARM32-LABEL: CallConst
189 ; ARM32: movw [[REGISTER:r.*]], #960 186 ; ARM32: movw [[REGISTER:r.*]], #960
190 ; ARM32: movt [[REGISTER]], #1 187 ; ARM32: movt [[REGISTER]], #1
191 ; ARM32: blx [[REGISTER]] 188 ; ARM32: blx [[REGISTER]]
192 ; The legalization of the constant could be shared, but it isn't. 189 ; The legalization of the constant could be shared, but it isn't.
193 ; ARM32: movw [[REGISTER:r.*]], #960 190 ; ARM32: movw [[REGISTER:r.*]], #960
194 ; ARM32: blx [[REGISTER]] 191 ; ARM32: blx [[REGISTER]]
195 ; ARM32: blx [[REGISTER]] 192 ; ARM32: blx [[REGISTER]]
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/branch-opt.ll ('k') | tests_lit/llvm2ice_tests/convert.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698