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

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

Issue 265703002: Add Om1 lowering with no optimizations (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Merge changed from Karl's committed CL Created 6 years, 7 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/empty-func.ll ('k') | tests_lit/llvm2ice_tests/fpconst.pnacl.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 ; RUIN: %llvm2ice --verbose none %s | FileCheck %s 1 ; This tries to be a comprehensive test of f32 and f64 operations.
2 ; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s 2 ; The CHECK lines are only checking for basic instruction patterns
3 ; that should be present regardless of the optimization level, so
4 ; there are no special OPTM1 match lines.
5
6 ; RUIN: %llvm2ice -O2 --verbose none %s | FileCheck %s
7 ; RUN: %llvm2ice -Om1 --verbose none %s | FileCheck %s
8 ; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s
3 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s 9 ; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s
4 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ 10 ; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \
5 ; RUN: | FileCheck --check-prefix=DUMP %s 11 ; RUN: | FileCheck --check-prefix=DUMP %s
6 12
7 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 13 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
8 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 14 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
9 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 15 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
10 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 16 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
11 17
12 define internal i32 @doubleArgs(double %a, i32 %b, double %c) { 18 define internal i32 @doubleArgs(double %a, i32 %b, double %c) {
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 %cond = select i1 %cmp, double %a, double %b 1098 %cond = select i1 %cmp, double %a, double %b
1093 ret double %cond 1099 ret double %cond
1094 } 1100 }
1095 ; CHECK: selectDoubleVarVar: 1101 ; CHECK: selectDoubleVarVar:
1096 ; CHECK: ucomisd 1102 ; CHECK: ucomisd
1097 ; CHECK: ja . 1103 ; CHECK: ja .
1098 ; CHECK: fld 1104 ; CHECK: fld
1099 1105
1100 ; ERRORS-NOT: ICE translation error 1106 ; ERRORS-NOT: ICE translation error
1101 ; DUMP-NOT: SZ 1107 ; DUMP-NOT: SZ
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/empty-func.ll ('k') | tests_lit/llvm2ice_tests/fpconst.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698