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