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

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

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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/binops.ll ('k') | tests_lit/reader_tests/call.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 if we handle a branch instructions. 1 ; Tests if we handle a branch instructions.
2 2
3 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %if --need=allow_disable_ir_gen --command \ 4 ; RUN: %p2i -i %s --args -notranslate -timing | \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 5 ; RUN: FileCheck --check-prefix=NOIR %s
8 6
9 define internal void @SimpleBranch() { 7 define internal void @SimpleBranch() {
10 entry: 8 entry:
11 br label %b3 9 br label %b3
12 b1: 10 b1:
13 br label %b2 11 br label %b2
14 b2: 12 b2:
15 ret void 13 ret void
16 b3: 14 b3:
(...skipping 25 matching lines...) Expand all
42 ; CHECK-NEXT: entry: 40 ; CHECK-NEXT: entry:
43 ; CHECK-NEXT: %test = trunc i32 %p to i1 41 ; CHECK-NEXT: %test = trunc i32 %p to i1
44 ; CHECK-NEXT: br i1 %test, label %b1, label %b2 42 ; CHECK-NEXT: br i1 %test, label %b1, label %b2
45 ; CHECK-NEXT: b1: 43 ; CHECK-NEXT: b1:
46 ; CHECK-NEXT: ret void 44 ; CHECK-NEXT: ret void
47 ; CHECK-NEXT: b2: 45 ; CHECK-NEXT: b2:
48 ; CHECK-NEXT: br i1 %test, label %b2, label %b1 46 ; CHECK-NEXT: br i1 %test, label %b2, label %b1
49 ; CHECK-NEXT: } 47 ; CHECK-NEXT: }
50 48
51 ; NOIR: Total across all functions 49 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/binops.ll ('k') | tests_lit/reader_tests/call.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698