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/reader_tests/compare.ll

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. Created 6 years, 2 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/reader_tests/casts.ll ('k') | tests_lit/reader_tests/constants.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 ; Test if we can read compare instructions. 1 ; Test if we can read compare instructions.
2 2
3 ; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \ 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
5 ; RUN: -allow-pnacl-reader-error-recovery \
6 ; RUN: -allow-local-symbol-tables \
7 ; RUN: | FileCheck %s
8 4
9 define i1 @IcmpI1(i32 %p1, i32 %p2) { 5 define i1 @IcmpI1(i32 %p1, i32 %p2) {
10 entry: 6 entry:
11 %a1 = trunc i32 %p1 to i1 7 %a1 = trunc i32 %p1 to i1
12 %a2 = trunc i32 %p2 to i1 8 %a2 = trunc i32 %p2 to i1
13 %veq = icmp eq i1 %a1, %a2 9 %veq = icmp eq i1 %a1, %a2
14 %vne = icmp ne i1 %a1, %a2 10 %vne = icmp ne i1 %a1, %a2
15 %vugt = icmp ugt i1 %a1, %a2 11 %vugt = icmp ugt i1 %a1, %a2
16 %vuge = icmp uge i1 %a1, %a2 12 %vuge = icmp uge i1 %a1, %a2
17 %vult = icmp ult i1 %a1, %a2 13 %vult = icmp ult i1 %a1, %a2
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 ; CHECK-NEXT: %vueq = fcmp ueq <4 x float> %a1, %a2 462 ; CHECK-NEXT: %vueq = fcmp ueq <4 x float> %a1, %a2
467 ; CHECK-NEXT: %vugt = fcmp ugt <4 x float> %a1, %a2 463 ; CHECK-NEXT: %vugt = fcmp ugt <4 x float> %a1, %a2
468 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2 464 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2
469 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2 465 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2
470 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2 466 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2
471 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2 467 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2
472 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2 468 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2
473 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2 469 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2
474 ; CHECK-NEXT: ret <4 x i1> %voeq 470 ; CHECK-NEXT: ret <4 x i1> %voeq
475 ; CHECK-NEXT: } 471 ; CHECK-NEXT: }
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/casts.ll ('k') | tests_lit/reader_tests/constants.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698