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

Side by Side Diff: tests_lit/llvm2ice_tests/select-opt.ll

Issue 2364143002: Subzero, MIPS32: lowerSelect for i64 (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 3 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/64bit.pnacl.ll ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Simple test of the select instruction. The CHECK lines are only 1 ; Simple test of the select instruction. The CHECK lines are only
2 ; checking for basic instruction patterns that should be present 2 ; checking for basic instruction patterns that should be present
3 ; regardless of the optimization level, so there are no special OPTM1 3 ; regardless of the optimization level, so there are no special OPTM1
4 ; match lines. 4 ; match lines.
5 5
6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
7 ; RUN: --target x8632 -i %s --args -O2 -allow-externally-defined-symbols \ 7 ; RUN: --target x8632 -i %s --args -O2 -allow-externally-defined-symbols \
8 ; RUN: | %if --need=target_X8632 --command FileCheck %s 8 ; RUN: | %if --need=target_X8632 --command FileCheck %s
9 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 9 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
10 ; RUN: --target x8632 -i %s --args -Om1 -allow-externally-defined-symbols \ 10 ; RUN: --target x8632 -i %s --args -Om1 -allow-externally-defined-symbols \
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 define internal i64 @testSelectImm64(i64 %a, i64 %b) { 101 define internal i64 @testSelectImm64(i64 %a, i64 %b) {
102 entry: 102 entry:
103 %cond = select i1 true, i64 %a, i64 %b 103 %cond = select i1 true, i64 %a, i64 %b
104 ret i64 %cond 104 ret i64 %cond
105 } 105 }
106 ; CHECK-LABEL: testSelectImm64 106 ; CHECK-LABEL: testSelectImm64
107 ; CHECK-NOT: cmp 0x{{[0-9a-f]+}}, 107 ; CHECK-NOT: cmp 0x{{[0-9a-f]+}},
108 ; ARM32-LABEL: testSelectImm64 108 ; ARM32-LABEL: testSelectImm64
109 ; ARM32-NOT: cmp #{{.*}}, 109 ; ARM32-NOT: cmp #{{.*}},
110 ; MIPS32-LABEL: testSelectImm64 110 ; MIPS32-LABEL: testSelectImm64
111 ; MIPS32: movn
112 ; MIPS32: movn
113 ; MIPS32: move
Jim Stichnoth 2016/09/24 14:39:59 I think you should probably remove these two 'move
obucinac 2016/09/25 17:19:42 Done.
114 ; MIPS32: move
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/64bit.pnacl.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698