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

Side by Side Diff: tests_lit/llvm2ice_tests/fp.call_ret.ll

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 months 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
« no previous file with comments | « tests_lit/llvm2ice_tests/fp.arm.call.ll ('k') | tests_lit/llvm2ice_tests/fp.cmp.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 ; This tries to be a comprehensive test of f32 and f64 call/return ops. 1 ; This tries to be a comprehensive test of f32 and f64 call/return ops.
2 ; The CHECK lines are only checking for basic instruction patterns 2 ; The CHECK lines are only checking for basic instruction patterns
3 ; that should be present regardless of the optimization level, so 3 ; that should be present regardless of the optimization level, so
4 ; there are no special OPTM1 match lines. 4 ; there are no special OPTM1 match lines.
5 5
6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
7 ; RUN: --target x8632 -i %s --args -O2 \ 7 ; RUN: --target x8632 -i %s --args -O2 -allow-externally-defined-symbols \
8 ; RUN: | %if --need=target_X8632 --command FileCheck %s 8 ; RUN: | %if --need=target_X8632 --command FileCheck %s
9 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ 9 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \
10 ; RUN: --target x8632 -i %s --args -Om1 \ 10 ; RUN: --target x8632 -i %s --args -Om1 -allow-externally-defined-symbols \
11 ; RUN: | %if --need=target_X8632 --command FileCheck %s 11 ; RUN: | %if --need=target_X8632 --command FileCheck %s
12 12
13 ; Can't test on ARM yet. Need to use several vpush {contiguous FP regs}, 13 ; Can't test on ARM yet. Need to use several vpush {contiguous FP regs},
14 ; instead of push {any GPR list}. 14 ; instead of push {any GPR list}.
15 15
16 define internal i32 @doubleArgs(double %a, i32 %b, double %c) { 16 define internal i32 @doubleArgs(double %a, i32 %b, double %c) {
17 entry: 17 entry:
18 ret i32 %b 18 ret i32 %b
19 } 19 }
20 ; CHECK-LABEL: doubleArgs 20 ; CHECK-LABEL: doubleArgs
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 ; CHECK-LABEL: returnFloatConst 91 ; CHECK-LABEL: returnFloatConst
92 ; CHECK: fld 92 ; CHECK: fld
93 93
94 define internal double @returnDoubleConst() { 94 define internal double @returnDoubleConst() {
95 entry: 95 entry:
96 ret double 1.230000e+00 96 ret double 1.230000e+00
97 } 97 }
98 ; CHECK-LABEL: returnDoubleConst 98 ; CHECK-LABEL: returnDoubleConst
99 ; CHECK: fld 99 ; CHECK: fld
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/fp.arm.call.ll ('k') | tests_lit/llvm2ice_tests/fp.cmp.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698