Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: tests_lit/reader_tests/constants.ll

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: changes suggested by stichnot Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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: %if --need=allow_disable_ir_gen --command \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 5 ; RUN: %p2i -i %s --args -notranslate -timing \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \ 6 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 7 ; RUN: FileCheck --check-prefix=NOIR %s
8 8
9 define internal void @TestIntegers() { 9 define internal void @TestIntegers() {
10 entry: 10 entry:
11 ; CHECK: entry: 11 ; CHECK: entry:
12 12
13 ; Test various sized integers 13 ; Test various sized integers
14 %v0 = or i1 true, false 14 %v0 = or i1 true, false
15 ; CHECK-NEXT: %v0 = or i1 true, false 15 ; CHECK-NEXT: %v0 = or i1 true, false
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 ; Generated from -DBL_MAX in <float.h> 152 ; Generated from -DBL_MAX in <float.h>
153 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989 17476803157260780028538760589558632766878171540458953514382464234321326889464182 76846754670353751698604991057655128207624549009038932894407586850845513394230458 32369032229481658085593321233482747978262041447231687381771809192998812504040261 84124858368.000000, 0.0 153 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989 17476803157260780028538760589558632766878171540458953514382464234321326889464182 76846754670353751698604991057655128207624549009038932894407586850845513394230458 32369032229481658085593321233482747978262041447231687381771809192998812504040261 84124858368.000000, 0.0
154 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00 154 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00
155 155
156 ret void 156 ret void
157 ; CHECK-NEXT: ret void 157 ; CHECK-NEXT: ret void
158 } 158 }
159 159
160 ; NOIR: Total across all functions 160 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698