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

Side by Side Diff: tests_lit/reader_tests/branch.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 ; Tests if we handle a branch instructions. 1 ; Tests if we handle a branch 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 define void @SimpleBranch() { 11 define void @SimpleBranch() {
10 entry: 12 entry:
11 br label %b3 13 br label %b3
12 b1: 14 b1:
(...skipping 29 matching lines...) Expand all
42 ; CHECK-NEXT: entry: 44 ; CHECK-NEXT: entry:
43 ; CHECK-NEXT: %test = trunc i32 %p to i1 45 ; CHECK-NEXT: %test = trunc i32 %p to i1
44 ; CHECK-NEXT: br i1 %test, label %b1, label %b2 46 ; CHECK-NEXT: br i1 %test, label %b1, label %b2
45 ; CHECK-NEXT: b1: 47 ; CHECK-NEXT: b1:
46 ; CHECK-NEXT: ret void 48 ; CHECK-NEXT: ret void
47 ; CHECK-NEXT: b2: 49 ; CHECK-NEXT: b2:
48 ; CHECK-NEXT: br i1 %test, label %b2, label %b1 50 ; CHECK-NEXT: br i1 %test, label %b2, label %b1
49 ; CHECK-NEXT: } 51 ; CHECK-NEXT: }
50 52
51 ; NOIR: Total across all functions 53 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698