OLD | NEW |
1 ; Test use forward type references in function blocks. | 1 ; Test use forward type references in function blocks. |
2 | 2 |
3 ; REQUIRES: allow_dump | |
4 | |
5 ; RUN: %p2i -i %s --insts | FileCheck %s | 3 ; RUN: %p2i -i %s --insts | FileCheck %s |
6 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-bcdis -no-records \ | 4 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-bcdis -no-records \ |
7 ; RUN: | FileCheck --check-prefix=DUMP %s | 5 ; RUN: | FileCheck --check-prefix=DUMP %s |
8 ; RUN: %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: %if --need=allow_disable_ir_gen --command \ |
9 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
10 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
11 ; RUN: FileCheck --check-prefix=NOIR %s | 9 ; RUN: FileCheck --check-prefix=NOIR %s |
12 | 10 |
13 define void @LoopCarriedDep() { | 11 define void @LoopCarriedDep() { |
14 b0: | 12 b0: |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 ; DUMP-NEXT: %v3 = add i32 %p0, %p0; <@a1> | 114 ; DUMP-NEXT: %v3 = add i32 %p0, %p0; <@a1> |
117 ; DUMP-NEXT: br i1 %c0, label %b1, label %b5; | 115 ; DUMP-NEXT: br i1 %c0, label %b1, label %b5; |
118 ; DUMP-NEXT: %b5: | 116 ; DUMP-NEXT: %b5: |
119 ; DUMP-NEXT: %v4 = add i32 %v3, %p0; <@a1> | 117 ; DUMP-NEXT: %v4 = add i32 %v3, %p0; <@a1> |
120 ; DUMP-NEXT: br i1 %c0, label %b2, label %b3; | 118 ; DUMP-NEXT: br i1 %c0, label %b2, label %b3; |
121 ; DUMP-NEXT: %b6: | 119 ; DUMP-NEXT: %b6: |
122 ; DUMP-NEXT: ret void; <@a3> | 120 ; DUMP-NEXT: ret void; <@a3> |
123 ; DUMP-NEXT: } | 121 ; DUMP-NEXT: } |
124 | 122 |
125 ; NOIR: Total across all functions | 123 ; NOIR: Total across all functions |
OLD | NEW |