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