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

Side by Side Diff: tests_lit/reader_tests/forwardref.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/constants.ll ('k') | tests_lit/reader_tests/globalinit.pnacl.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 use forward type references in function blocks. 1 ; Test use forward type references in function blocks.
2 2
3 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-bcdis -no-records \ 4 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-bcdis -no-records \
5 ; RUN: | FileCheck --check-prefix=DUMP %s 5 ; RUN: | FileCheck --check-prefix=DUMP %s
6 ; RUN: %if --need=allow_disable_ir_gen --command \ 6 ; RUN: %p2i -i %s --args -notranslate -timing | \
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
8 ; RUN: | %if --need=allow_disable_ir_gen --command \
9 ; RUN: FileCheck --check-prefix=NOIR %s 7 ; RUN: FileCheck --check-prefix=NOIR %s
10 8
11 define internal void @LoopCarriedDep() { 9 define internal void @LoopCarriedDep() {
12 b0: 10 b0:
13 %v0 = add i32 1, 2 11 %v0 = add i32 1, 2
14 br label %b1 12 br label %b1
15 b1: 13 b1:
16 %v1 = phi i32 [%v0, %b0], [%v2, %b1] 14 %v1 = phi i32 [%v0, %b0], [%v2, %b1]
17 %v2 = add i32 %v1, 1 15 %v2 = add i32 %v1, 1
18 br label %b1 16 br label %b1
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 ; DUMP-NEXT: %v3 = add i32 %p0, %p0; <@a1> 112 ; DUMP-NEXT: %v3 = add i32 %p0, %p0; <@a1>
115 ; DUMP-NEXT: br i1 %c0, label %b1, label %b5; 113 ; DUMP-NEXT: br i1 %c0, label %b1, label %b5;
116 ; DUMP-NEXT: %b5: 114 ; DUMP-NEXT: %b5:
117 ; DUMP-NEXT: %v4 = add i32 %v3, %p0; <@a1> 115 ; DUMP-NEXT: %v4 = add i32 %v3, %p0; <@a1>
118 ; DUMP-NEXT: br i1 %c0, label %b2, label %b3; 116 ; DUMP-NEXT: br i1 %c0, label %b2, label %b3;
119 ; DUMP-NEXT: %b6: 117 ; DUMP-NEXT: %b6:
120 ; DUMP-NEXT: ret void; <@a3> 118 ; DUMP-NEXT: ret void; <@a3>
121 ; DUMP-NEXT: } 119 ; DUMP-NEXT: }
122 120
123 ; NOIR: Total across all functions 121 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/constants.ll ('k') | tests_lit/reader_tests/globalinit.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698