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

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

Issue 696383004: Disable Subzero IR generation for performance testing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in patch set 2, and add tests. Created 6 years, 1 month 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: %p2i -i %s --args -notranslate -timing -noIRgen \
5 ; RUN: | %if --need=allow_disable_ir_gen \
6 ; RUN: --command FileCheck --check-prefix=NOIR %s
4 7
5 define void @TestIntegers() { 8 define void @TestIntegers() {
6 entry: 9 entry:
7 ; CHECK: entry: 10 ; CHECK: entry:
8 11
9 ; Test various sized integers 12 ; Test various sized integers
10 %v0 = or i1 true, false 13 %v0 = or i1 true, false
11 ; CHECK-NEXT: %v0 = or i1 true, false 14 ; CHECK-NEXT: %v0 = or i1 true, false
12 15
13 %v1 = add i8 0, 0 16 %v1 = add i8 0, 0
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 %v20 = fadd double 17976931348623157081452742373170435679807056752584499659891 74768031572607800285387605895586327668781715404589535143824642343213268894641827 68467546703537516986049910576551282076245490090389328944075868508455133942304583 23690322294816580855933212334827479782620414472316873817718091929988125040402618 4124858368.000000, 0.0 148 %v20 = fadd double 17976931348623157081452742373170435679807056752584499659891 74768031572607800285387605895586327668781715404589535143824642343213268894641827 68467546703537516986049910576551282076245490090389328944075868508455133942304583 23690322294816580855933212334827479782620414472316873817718091929988125040402618 4124858368.000000, 0.0
146 ; CHECK-NEXT: %v20 = fadd double 1.797693e+308, 0.000000e+00 149 ; CHECK-NEXT: %v20 = fadd double 1.797693e+308, 0.000000e+00
147 150
148 ; Generated from -DBL_MAX in <float.h> 151 ; Generated from -DBL_MAX in <float.h>
149 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989 17476803157260780028538760589558632766878171540458953514382464234321326889464182 76846754670353751698604991057655128207624549009038932894407586850845513394230458 32369032229481658085593321233482747978262041447231687381771809192998812504040261 84124858368.000000, 0.0 152 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989 17476803157260780028538760589558632766878171540458953514382464234321326889464182 76846754670353751698604991057655128207624549009038932894407586850845513394230458 32369032229481658085593321233482747978262041447231687381771809192998812504040261 84124858368.000000, 0.0
150 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00 153 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00
151 154
152 ret void 155 ret void
153 ; CHECK-NEXT: ret void 156 ; CHECK-NEXT: ret void
154 } 157 }
158
159 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698