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

Side by Side Diff: tests_lit/reader_tests/insertextract.ll

Issue 696383004: Disable Subzero IR generation for performance testing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 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/reader_tests/globalrelocs.ll ('k') | tests_lit/reader_tests/load.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 ; Tests insertelement and extractelement vector instructions. 1 ; Tests insertelement and extractelement vector instructions.
2 2
3 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s 4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s
5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s 5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s
6 ; RUN: %if --need=allow_disable_ir_gen --command \
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
8 ; RUN: | %if --need=allow_disable_ir_gen --command \
9 ; RUN: FileCheck --check-prefix=NOIR %s
6 10
7 define void @ExtractV4xi1(<4 x i1> %v) { 11 define void @ExtractV4xi1(<4 x i1> %v) {
8 entry: 12 entry:
9 %e0 = extractelement <4 x i1> %v, i32 0 13 %e0 = extractelement <4 x i1> %v, i32 0
10 %e1 = extractelement <4 x i1> %v, i32 1 14 %e1 = extractelement <4 x i1> %v, i32 1
11 %e2 = extractelement <4 x i1> %v, i32 2 15 %e2 = extractelement <4 x i1> %v, i32 2
12 %e3 = extractelement <4 x i1> %v, i32 3 16 %e3 = extractelement <4 x i1> %v, i32 3
13 ret void 17 ret void
14 } 18 }
15 19
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 } 374 }
371 375
372 ; CHECK-NEXT: define <4 x float> @InsertV4xfloat(<4 x float> %v, float %e) { 376 ; CHECK-NEXT: define <4 x float> @InsertV4xfloat(<4 x float> %v, float %e) {
373 ; CHECK-NEXT: entry: 377 ; CHECK-NEXT: entry:
374 ; CHECK-NEXT: %r0 = insertelement <4 x float> %v, float %e, i32 0 378 ; CHECK-NEXT: %r0 = insertelement <4 x float> %v, float %e, i32 0
375 ; CHECK-NEXT: %r1 = insertelement <4 x float> %v, float %e, i32 1 379 ; CHECK-NEXT: %r1 = insertelement <4 x float> %v, float %e, i32 1
376 ; CHECK-NEXT: %r2 = insertelement <4 x float> %v, float %e, i32 2 380 ; CHECK-NEXT: %r2 = insertelement <4 x float> %v, float %e, i32 2
377 ; CHECK-NEXT: %r3 = insertelement <4 x float> %v, float %e, i32 3 381 ; CHECK-NEXT: %r3 = insertelement <4 x float> %v, float %e, i32 3
378 ; CHECK-NEXT: ret <4 x float> %r3 382 ; CHECK-NEXT: ret <4 x float> %r3
379 ; CHECK-NEXT: } 383 ; CHECK-NEXT: }
384
385 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/globalrelocs.ll ('k') | tests_lit/reader_tests/load.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698