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

Side by Side Diff: tests_lit/llvm2ice_tests/vector-cast.ll

Issue 955003002: Subzero: Clean up function header emission. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix the tests that were broken as a result Created 5 years, 9 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/vector-bitcast.ll ('k') | tests_lit/llvm2ice_tests/vector-fcmp.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 tests casting / conversion operations that apply to vector types. 1 ; This file tests casting / conversion operations that apply to vector types.
2 ; bitcast operations are in vector-bitcast.ll. 2 ; bitcast operations are in vector-bitcast.ll.
3 3
4 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \ 4 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 | FileCheck %s
5 ; RUN: | FileCheck %s 5 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 | FileCheck %s
6 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \
7 ; RUN: | FileCheck %s
8 6
9 ; sext operations 7 ; sext operations
10 8
11 define <16 x i8> @test_sext_v16i1_to_v16i8(<16 x i1> %arg) { 9 define <16 x i8> @test_sext_v16i1_to_v16i8(<16 x i1> %arg) {
12 entry: 10 entry:
13 %res = sext <16 x i1> %arg to <16 x i8> 11 %res = sext <16 x i1> %arg to <16 x i8>
14 ret <16 x i8> %res 12 ret <16 x i8> %res
15 13
16 ; CHECK-LABEL: test_sext_v16i1_to_v16i8 14 ; CHECK-LABEL: test_sext_v16i1_to_v16i8
17 ; CHECK: pxor 15 ; CHECK: pxor
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 148 }
151 149
152 define <4 x float> @test_uitofp_v4i32_to_v4f32(<4 x i32> %arg) { 150 define <4 x float> @test_uitofp_v4i32_to_v4f32(<4 x i32> %arg) {
153 entry: 151 entry:
154 %res = uitofp <4 x i32> %arg to <4 x float> 152 %res = uitofp <4 x i32> %arg to <4 x float>
155 ret <4 x float> %res 153 ret <4 x float> %res
156 154
157 ; CHECK-LABEL: test_uitofp_v4i32_to_v4f32 155 ; CHECK-LABEL: test_uitofp_v4i32_to_v4f32
158 ; CHECK: call {{.*}} R_{{.*}} Sz_uitofp_v4i32 156 ; CHECK: call {{.*}} R_{{.*}} Sz_uitofp_v4i32
159 } 157 }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/vector-bitcast.ll ('k') | tests_lit/llvm2ice_tests/vector-fcmp.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698