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

Side by Side Diff: tests_lit/llvm2ice_tests/vector-arg.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, 10 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/unreachable.ll ('k') | tests_lit/llvm2ice_tests/vector-arith.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 that Subzero generates code in accordance with the 1 ; This file checks that Subzero generates code in accordance with the
2 ; calling convention for vectors. 2 ; calling convention for vectors.
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 ; The first five functions test that vectors are moved from their 9 ; The first five functions test that vectors are moved from their
10 ; correct argument location to xmm0. 10 ; correct argument location to xmm0.
11 11
12 define <4 x float> @test_returning_arg0(<4 x float> %arg0, <4 x float> %arg1, <4 x float> %arg2, <4 x float> %arg3, <4 x float> %arg4, <4 x float> %arg5) { 12 define <4 x float> @test_returning_arg0(<4 x float> %arg0, <4 x float> %arg1, <4 x float> %arg2, <4 x float> %arg3, <4 x float> %arg4, <4 x float> %arg5) {
13 entry: 13 entry:
14 ret <4 x float> %arg0 14 ret <4 x float> %arg0
15 ; CHECK-LABEL: test_returning_arg0 15 ; CHECK-LABEL: test_returning_arg0
16 ; CHECK-NOT: mov 16 ; CHECK-NOT: mov
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 ; CHECK: call {{.*}} R_{{.*}} VectorReturn 235 ; CHECK: call {{.*}} R_{{.*}} VectorReturn
236 ; CHECK: ret 236 ; CHECK: ret
237 237
238 ; OPTM1-LABEL: test_receiving_vectors 238 ; OPTM1-LABEL: test_receiving_vectors
239 ; OPTM1: call {{.*}} R_{{.*}} VectorReturn 239 ; OPTM1: call {{.*}} R_{{.*}} VectorReturn
240 ; OPTM1: movups {{.*}},xmm0 240 ; OPTM1: movups {{.*}},xmm0
241 ; OPTM1: movups xmm0,{{.*}} 241 ; OPTM1: movups xmm0,{{.*}}
242 ; OPTM1: call {{.*}} R_{{.*}} VectorReturn 242 ; OPTM1: call {{.*}} R_{{.*}} VectorReturn
243 ; OPTM1: ret 243 ; OPTM1: ret
244 } 244 }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/unreachable.ll ('k') | tests_lit/llvm2ice_tests/vector-arith.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698