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

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

Issue 609813003: Remove broken szdiff tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 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/convert.ll ('k') | tests_lit/llvm2ice_tests/global.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 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer 6 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer
7 ; doesn't know how to symbolize non-section-local functions. 7 ; doesn't know how to symbolize non-section-local functions.
8 ; The newer LLVM 3.6 one does work, but watch out for other bugs. 8 ; The newer LLVM 3.6 one does work, but watch out for other bugs.
9 9
10 ; RUN: %p2i -i %s --args -O2 --verbose none \ 10 ; RUN: %p2i -i %s --args -O2 --verbose none \
11 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s 11 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s
12 ; RUN: %p2i -i %s --args -O2 --verbose none \ 12 ; RUN: %p2i -i %s --args -O2 --verbose none \
13 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 13 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
14 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 14 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
15 ; RUN: %p2i -i %s --args -Om1 --verbose none \ 15 ; RUN: %p2i -i %s --args -Om1 --verbose none \
16 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 16 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \
17 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 17 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
18 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s 18 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
19 ; TODO(kschimpf) Find out why lc2i is needed.
20 ; RUN: %lc2i -i %s --insts | %szdiff %s | FileCheck --check-prefix=DUMP %s
21 19
22 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 20 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
23 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 21 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
24 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 22 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
25 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 23 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
26 24
27 define internal i32 @doubleArgs(double %a, i32 %b, double %c) { 25 define internal i32 @doubleArgs(double %a, i32 %b, double %c) {
28 entry: 26 entry:
29 ret i32 %b 27 ret i32 %b
30 } 28 }
(...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 %cmp = fcmp olt double %a, %b 1169 %cmp = fcmp olt double %a, %b
1172 %cond = select i1 %cmp, double %a, double %b 1170 %cond = select i1 %cmp, double %a, double %b
1173 ret double %cond 1171 ret double %cond
1174 } 1172 }
1175 ; CHECK-LABEL: selectDoubleVarVar 1173 ; CHECK-LABEL: selectDoubleVarVar
1176 ; CHECK: ucomisd 1174 ; CHECK: ucomisd
1177 ; CHECK: ja {{[0-9]}} 1175 ; CHECK: ja {{[0-9]}}
1178 ; CHECK: fld 1176 ; CHECK: fld
1179 1177
1180 ; ERRORS-NOT: ICE translation error 1178 ; ERRORS-NOT: ICE translation error
1181 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/convert.ll ('k') | tests_lit/llvm2ice_tests/global.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698