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

Unified Diff: tests_lit/llvm2ice_tests/undef.ll

Issue 1439363002: Subzero: Use "pxor reg,reg" to load a floating-point scalar 0.0 value. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 1 month 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 | « tests_lit/llvm2ice_tests/rng.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/undef.ll
diff --git a/tests_lit/llvm2ice_tests/undef.ll b/tests_lit/llvm2ice_tests/undef.ll
index 0e1ff0554418a473baa5efc6747c14efc6e8c631..7e544aeb4009536e33cc84044a8cb139c8a68158 100644
--- a/tests_lit/llvm2ice_tests/undef.ll
+++ b/tests_lit/llvm2ice_tests/undef.ll
@@ -38,7 +38,8 @@ define internal float @undef_float() {
entry:
ret float undef
; CHECK-LABEL: undef_float
-; CHECK: fld DWORD PTR {{.*}} .L$float$00000000
+; CHECK: pxor [[REG:xmm.]],[[REG]]
+; CHECK: fld
}
define internal <4 x i1> @undef_v4i1() {
@@ -191,7 +192,8 @@ entry:
%val = insertelement <4 x float> %arg, float undef, i32 0
ret <4 x float> %val
; CHECK-LABEL: vector_insertelement_arg2
-; CHECK: {{movss|insertps}} {{.*}},DWORD PTR {{.*}} .L$float$00000000
+; CHECK: pxor [[REG:xmm.]],[[REG]]
+; CHECK: {{movss|insertps}} {{.*}},[[REG]]
}
define internal float @vector_extractelement_v4f32_index_0() {
« no previous file with comments | « tests_lit/llvm2ice_tests/rng.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698