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

Side by Side Diff: tests_lit/reader_tests/branch.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/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: 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 void @SimpleBranch() { 5 define void @SimpleBranch() {
10 entry: 6 entry:
11 br label %b3 7 br label %b3
12 b1: 8 b1:
13 br label %b2 9 br label %b2
14 b2: 10 b2:
15 ret void 11 ret void
16 b3: 12 b3:
17 br label %b1 13 br label %b1
(...skipping 22 matching lines...) Expand all
40 36
41 ; CHECK-NEXT: define void @CondBranch(i32 %p) { 37 ; CHECK-NEXT: define void @CondBranch(i32 %p) {
42 ; CHECK-NEXT: entry: 38 ; CHECK-NEXT: entry:
43 ; CHECK-NEXT: %test = trunc i32 %p to i1 39 ; CHECK-NEXT: %test = trunc i32 %p to i1
44 ; CHECK-NEXT: br i1 %test, label %b1, label %b2 40 ; CHECK-NEXT: br i1 %test, label %b1, label %b2
45 ; CHECK-NEXT: b1: 41 ; CHECK-NEXT: b1:
46 ; CHECK-NEXT: ret void 42 ; CHECK-NEXT: ret void
47 ; CHECK-NEXT: b2: 43 ; CHECK-NEXT: b2:
48 ; CHECK-NEXT: br i1 %test, label %b2, label %b1 44 ; CHECK-NEXT: br i1 %test, label %b2, label %b1
49 ; CHECK-NEXT: } 45 ; CHECK-NEXT: }
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