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

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

Issue 955003002: Subzero: Clean up function header emission. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix the tests that were broken as a result Created 5 years, 9 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/elf_nodata.ll ('k') | tests_lit/llvm2ice_tests/fpcall.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 operations. 1 ; This tries to be a comprehensive test of f32 and f64 operations.
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: %p2i --assemble --disassemble -i %s --args -O2 --verbose none \ 6 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 | FileCheck %s
7 ; RUN: | FileCheck %s 7 ; RUN: %p2i --filetype=obj --disassemble -i %s --args -Om1 | FileCheck %s
8 ; RUN: %p2i --assemble --disassemble -i %s --args -Om1 --verbose none \
9 ; RUN: | FileCheck %s
10 8
11 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 9 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
12 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 10 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
13 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 11 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
14 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 12 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
15 13
16 define internal i32 @doubleArgs(double %a, i32 %b, double %c) { 14 define internal i32 @doubleArgs(double %a, i32 %b, double %c) {
17 entry: 15 entry:
18 ret i32 %b 16 ret i32 %b
19 } 17 }
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 define internal double @selectDoubleVarVar(double %a, double %b) { 1174 define internal double @selectDoubleVarVar(double %a, double %b) {
1177 entry: 1175 entry:
1178 %cmp = fcmp olt double %a, %b 1176 %cmp = fcmp olt double %a, %b
1179 %cond = select i1 %cmp, double %a, double %b 1177 %cond = select i1 %cmp, double %a, double %b
1180 ret double %cond 1178 ret double %cond
1181 } 1179 }
1182 ; CHECK-LABEL: selectDoubleVarVar 1180 ; CHECK-LABEL: selectDoubleVarVar
1183 ; CHECK: ucomisd 1181 ; CHECK: ucomisd
1184 ; CHECK: ja 1182 ; CHECK: ja
1185 ; CHECK: fld 1183 ; CHECK: fld
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/elf_nodata.ll ('k') | tests_lit/llvm2ice_tests/fpcall.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698