Chromium Code Reviews

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

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « tests_lit/reader_tests/compare.ll ('k') | tests_lit/reader_tests/forwardref.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Test handling of constants in function blocks. 1 ; Test handling of constants in function blocks.
2 2
3 ; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \ 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
5 ; RUN: -allow-pnacl-reader-error-recovery \
6 ; RUN: -allow-local-symbol-tables \
7 ; RUN: | FileCheck %s
8 4
9 define void @TestIntegers() { 5 define void @TestIntegers() {
10 entry: 6 entry:
11 ; CHECK: entry: 7 ; CHECK: entry:
12 8
13 ; Test various sized integers 9 ; Test various sized integers
14 %v0 = or i1 true, false 10 %v0 = or i1 true, false
15 ; CHECK-NEXT: %v0 = or i1 true, false 11 ; CHECK-NEXT: %v0 = or i1 true, false
16 12
17 %v1 = add i8 0, 0 13 %v1 = add i8 0, 0
(...skipping 131 matching lines...)
149 %v20 = fadd double 17976931348623157081452742373170435679807056752584499659891 74768031572607800285387605895586327668781715404589535143824642343213268894641827 68467546703537516986049910576551282076245490090389328944075868508455133942304583 23690322294816580855933212334827479782620414472316873817718091929988125040402618 4124858368.000000, 0.0 145 %v20 = fadd double 17976931348623157081452742373170435679807056752584499659891 74768031572607800285387605895586327668781715404589535143824642343213268894641827 68467546703537516986049910576551282076245490090389328944075868508455133942304583 23690322294816580855933212334827479782620414472316873817718091929988125040402618 4124858368.000000, 0.0
150 ; CHECK-NEXT: %v20 = fadd double 1.797693e+308, 0.000000e+00 146 ; CHECK-NEXT: %v20 = fadd double 1.797693e+308, 0.000000e+00
151 147
152 ; Generated from -DBL_MAX in <float.h> 148 ; Generated from -DBL_MAX in <float.h>
153 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989 17476803157260780028538760589558632766878171540458953514382464234321326889464182 76846754670353751698604991057655128207624549009038932894407586850845513394230458 32369032229481658085593321233482747978262041447231687381771809192998812504040261 84124858368.000000, 0.0 149 %v21 = fadd double -1797693134862315708145274237317043567980705675258449965989 17476803157260780028538760589558632766878171540458953514382464234321326889464182 76846754670353751698604991057655128207624549009038932894407586850845513394230458 32369032229481658085593321233482747978262041447231687381771809192998812504040261 84124858368.000000, 0.0
154 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00 150 ; CHECK-NEXT: %v21 = fadd double -1.797693e+308, 0.000000e+00
155 151
156 ret void 152 ret void
157 ; CHECK-NEXT: ret void 153 ; CHECK-NEXT: ret void
158 } 154 }
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/compare.ll ('k') | tests_lit/reader_tests/forwardref.ll » ('j') | no next file with comments »

Powered by Google App Engine