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

Side by Side Diff: tests_lit/llvm2ice_tests/vector-bitcast.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-arith.ll ('k') | tests_lit/llvm2ice_tests/vector-cast.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 bitcasts of vector type. For most operations, these 1 ; This file tests bitcasts of vector type. For most operations, these
2 ; should be lowered to a no-op on -O2. 2 ; should be lowered to a no-op on -O2.
3 3
4 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \ 4 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \
5 ; RUN: | FileCheck %s 5 ; RUN: | FileCheck %s
6 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \ 6 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \
7 ; RUN: | FileCheck --check-prefix=OPTM1 %s 7 ; RUN: | FileCheck --check-prefix=OPTM1 %s
8 8
9 define <16 x i8> @test_bitcast_v16i8_to_v16i8(<16 x i8> %arg) { 9 define <16 x i8> @test_bitcast_v16i8_to_v16i8(<16 x i8> %arg) {
10 entry: 10 entry:
11 %res = bitcast <16 x i8> %arg to <16 x i8> 11 %res = bitcast <16 x i8> %arg to <16 x i8>
12 ret <16 x i8> %res 12 ret <16 x i8> %res
13 13
14 ; CHECK-LABEL: test_bitcast_v16i8_to_v16i8 14 ; CHECK-LABEL: test_bitcast_v16i8_to_v16i8
15 ; CHECK-NEXT: ret 15 ; CHECK-NEXT: ret
16 } 16 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 %arg.trunc = trunc i32 %arg to i16 192 %arg.trunc = trunc i32 %arg to i16
193 %res = bitcast i16 %arg.trunc to <16 x i1> 193 %res = bitcast i16 %arg.trunc to <16 x i1>
194 ret <16 x i1> %res 194 ret <16 x i1> %res
195 195
196 ; CHECK-LABEL: test_bitcast_i16_to_v16i1 196 ; CHECK-LABEL: test_bitcast_i16_to_v16i1
197 ; CHECK: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1 197 ; CHECK: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1
198 198
199 ; OPTM1-LABEL: test_bitcast_i16_to_v16i1 199 ; OPTM1-LABEL: test_bitcast_i16_to_v16i1
200 ; OPTM1: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1 200 ; OPTM1: call {{.*}} R_{{.*}} Sz_bitcast_i16_to_v16i1
201 } 201 }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/vector-arith.ll ('k') | tests_lit/llvm2ice_tests/vector-cast.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698