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

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: Address Jan's second-round comments 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
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: %szdiff --llvm2ice=%llvm2ice %s | FileCheck --check-prefix=DUMP %s 9 ; RUN: %szdiff --llvm2ice=%llvm2ice %s | FileCheck --check-prefix=DUMP %s
4 10
5 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 11 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
6 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 12 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
7 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 13 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
8 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 14 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
9 15
10 define internal i32 @doubleArgs(double %a, i32 %b, double %c) { 16 define internal i32 @doubleArgs(double %a, i32 %b, double %c) {
11 entry: 17 entry:
12 ret i32 %b 18 ret i32 %b
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 %cond = select i1 %cmp, double %a, double %b 1096 %cond = select i1 %cmp, double %a, double %b
1091 ret double %cond 1097 ret double %cond
1092 } 1098 }
1093 ; CHECK: selectDoubleVarVar: 1099 ; CHECK: selectDoubleVarVar:
1094 ; CHECK: ucomisd 1100 ; CHECK: ucomisd
1095 ; CHECK: ja . 1101 ; CHECK: ja .
1096 ; CHECK: fld 1102 ; CHECK: fld
1097 1103
1098 ; ERRORS-NOT: ICE translation error 1104 ; ERRORS-NOT: ICE translation error
1099 ; DUMP-NOT: SZ 1105 ; DUMP-NOT: SZ
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698