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

Side by Side Diff: tests_lit/llvm2ice_tests/mips-address-mode-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/load.ll ('k') | tests_lit/llvm2ice_tests/nacl-mem-intrinsics.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 file checks support for address mode optimization. 1 ; This file checks support for address mode optimization.
2 ; This test file is same as address-mode-opt.ll however the functions in this 2 ; This test file is same as address-mode-opt.ll however the functions in this
3 ; file are relevant to MIPS only. 3 ; file are relevant to MIPS only.
4 4
5 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ 5 ; RUN: %if --need=target_MIPS32 --need=allow_dump \
6 ; RUN: --command %p2i --filetype=asm --assemble --disassemble \ 6 ; RUN: --command %p2i --filetype=asm --assemble --disassemble \
7 ; RUN: --target mips32 -i %s --args -O2 --skip-unimplemented \ 7 ; RUN: --target mips32 -i %s --args -O2 \
8 ; RUN: -allow-externally-defined-symbols \ 8 ; RUN: -allow-externally-defined-symbols \
9 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ 9 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \
10 ; RUN: --command FileCheck --check-prefix MIPS32 %s 10 ; RUN: --command FileCheck --check-prefix MIPS32 %s
11 11
12 define internal float @load_arg_plus_offset(float* %arg) { 12 define internal float @load_arg_plus_offset(float* %arg) {
13 entry: 13 entry:
14 %arg.int = ptrtoint float* %arg to i32 14 %arg.int = ptrtoint float* %arg to i32
15 %addr.int = add i32 %arg.int, 16 15 %addr.int = add i32 %arg.int, 16
16 %addr.ptr = inttoptr i32 %addr.int to float* 16 %addr.ptr = inttoptr i32 %addr.int to float*
17 %addr.load = load float, float* %addr.ptr, align 4 17 %addr.load = load float, float* %addr.ptr, align 4
(...skipping 17 matching lines...) Expand all
35 entry: 35 entry:
36 %arg.int = ptrtoint float* %arg to i32 36 %arg.int = ptrtoint float* %arg to i32
37 %addr1.int = add i32 12, %arg.int 37 %addr1.int = add i32 12, %arg.int
38 %addr2.int = sub i32 %addr1.int, 4 38 %addr2.int = sub i32 %addr1.int, 4
39 %addr2.ptr = inttoptr i32 %addr2.int to float* 39 %addr2.ptr = inttoptr i32 %addr2.int to float*
40 %addr2.load = load float, float* %addr2.ptr, align 4 40 %addr2.load = load float, float* %addr2.ptr, align 4
41 ret float %addr2.load 41 ret float %addr2.load
42 } 42 }
43 ; MIPS32-LABEL: address_mode_opt_chaining 43 ; MIPS32-LABEL: address_mode_opt_chaining
44 ; MIPS32 lwc1 $f0,8(a0) 44 ; MIPS32 lwc1 $f0,8(a0)
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/load.ll ('k') | tests_lit/llvm2ice_tests/nacl-mem-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698