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