OLD | NEW |
1 ; Test handling of constants in function blocks. | 1 ; Test handling of constants 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: %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: %if --need=allow_disable_ir_gen --command \ |
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
6 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: FileCheck --check-prefix=NOIR %s | 9 ; RUN: FileCheck --check-prefix=NOIR %s |
8 | 10 |
9 define void @TestIntegers() { | 11 define void @TestIntegers() { |
10 entry: | 12 entry: |
11 ; CHECK: entry: | 13 ; CHECK: entry: |
12 | 14 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 153 |
152 ; Generated from -DBL_MAX in <float.h> | 154 ; Generated from -DBL_MAX in <float.h> |
153 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989
17476803157260780028538760589558632766878171540458953514382464234321326889464182
76846754670353751698604991057655128207624549009038932894407586850845513394230458
32369032229481658085593321233482747978262041447231687381771809192998812504040261
84124858368.000000, 0.0 | 155 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989
17476803157260780028538760589558632766878171540458953514382464234321326889464182
76846754670353751698604991057655128207624549009038932894407586850845513394230458
32369032229481658085593321233482747978262041447231687381771809192998812504040261
84124858368.000000, 0.0 |
154 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00 | 156 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00 |
155 | 157 |
156 ret void | 158 ret void |
157 ; CHECK-NEXT: ret void | 159 ; CHECK-NEXT: ret void |
158 } | 160 } |
159 | 161 |
160 ; NOIR: Total across all functions | 162 ; NOIR: Total across all functions |
OLD | NEW |