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

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

Issue 686913005: Turn off dump/emit routines when building minimal subzero. (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
OLDNEW
1 ; Test reading phi instructions. 1 ; Test reading phi instructions.
2 2
3 ; REQUIRES: allow_dump
4
3 ; RUN: %p2i -i %s --insts | FileCheck %s 5 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %if --need=allow_disable_ir_gen --command \ 6 ; RUN: %if --need=allow_disable_ir_gen --command \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \ 8 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 9 ; RUN: FileCheck --check-prefix=NOIR %s
8 10
9 ; TODO(kschimpf) Add forward reference examples. 11 ; TODO(kschimpf) Add forward reference examples.
10 12
11 define internal i32 @testPhi1(i32 %arg) { 13 define internal i32 @testPhi1(i32 %arg) {
12 entry: 14 entry:
(...skipping 13 matching lines...) Expand all
26 ; CHECK-NEXT: br i1 %cmp1, label %next, label %target 28 ; CHECK-NEXT: br i1 %cmp1, label %next, label %target
27 ; CHECK-NEXT: next: 29 ; CHECK-NEXT: next:
28 ; CHECK-NEXT: br label %target 30 ; CHECK-NEXT: br label %target
29 ; CHECK-NEXT: target: 31 ; CHECK-NEXT: target:
30 ; CHECK-NEXT: %merge = phi i1 [ %cmp1, %entry ], [ false, %next ] 32 ; CHECK-NEXT: %merge = phi i1 [ %cmp1, %entry ], [ false, %next ]
31 ; CHECK-NEXT: %result = zext i1 %merge to i32 33 ; CHECK-NEXT: %result = zext i1 %merge to i32
32 ; CHECK-NEXT: ret i32 %result 34 ; CHECK-NEXT: ret i32 %result
33 ; CHECK-NEXT: } 35 ; CHECK-NEXT: }
34 36
35 ; NOIR: Total across all functions 37 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698