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

Unified Diff: tests_lit/llvm2ice_tests/bitcast.ll

Issue 1163943005: Subzero: Legalize FP constants directly into memory operands. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/undef.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/bitcast.ll
diff --git a/tests_lit/llvm2ice_tests/bitcast.ll b/tests_lit/llvm2ice_tests/bitcast.ll
index 3e7c77833db9183dfc7d9fe54e82b8bb8229f5b7..40a654cbfeea55d82c7ccc693b5be1c635e805db 100644
--- a/tests_lit/llvm2ice_tests/bitcast.ll
+++ b/tests_lit/llvm2ice_tests/bitcast.ll
@@ -10,7 +10,6 @@ entry:
}
; CHECK-LABEL: cast_f2i
; CHECK: mov eax
-; CHECK: ret
define internal float @cast_i2f(i32 %i) {
entry:
@@ -19,7 +18,6 @@ entry:
}
; CHECK-LABEL: cast_i2f
; CHECK: fld DWORD PTR
-; CHECK: ret
define internal i64 @cast_d2ll(double %d) {
entry:
@@ -28,7 +26,6 @@ entry:
}
; CHECK-LABEL: cast_d2ll
; CHECK: mov edx
-; CHECK: ret
define internal i64 @cast_d2ll_const() {
entry:
@@ -36,9 +33,8 @@ entry:
ret i64 %v0
}
; CHECK-LABEL: cast_d2ll_const
-; CHECK: movsd xmm{{.*}},QWORD PTR
-; CHECK: mov edx
-; CHECK: ret
+; CHECK: mov e{{..}},DWORD PTR ds:0x0 {{.*}} .L$double$0
+; CHECK: mov e{{..}},DWORD PTR ds:0x4 {{.*}} .L$double$0
define internal double @cast_ll2d(i64 %ll) {
entry:
@@ -47,7 +43,6 @@ entry:
}
; CHECK-LABEL: cast_ll2d
; CHECK: fld QWORD PTR
-; CHECK: ret
define internal double @cast_ll2d_const() {
entry:
@@ -58,4 +53,3 @@ entry:
; CHECK: mov {{.*}},0x73ce2ff2
; CHECK: mov {{.*}},0xb3a
; CHECK: fld QWORD PTR
-; CHECK: ret
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/undef.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698