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

Unified Diff: tests_lit/llvm2ice_tests/undef.ll

Issue 1497033002: Fuse icmp/fcmp with select (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes. Created 5 years 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
Index: tests_lit/llvm2ice_tests/undef.ll
diff --git a/tests_lit/llvm2ice_tests/undef.ll b/tests_lit/llvm2ice_tests/undef.ll
index 7e544aeb4009536e33cc84044a8cb139c8a68158..ba86d032270fed98ac00b433edd2c0ac342e0057 100644
--- a/tests_lit/llvm2ice_tests/undef.ll
+++ b/tests_lit/llvm2ice_tests/undef.ll
@@ -38,7 +38,15 @@ define internal float @undef_float() {
entry:
ret float undef
; CHECK-LABEL: undef_float
-; CHECK: pxor [[REG:xmm.]],[[REG]]
+; CHECK: xorps [[REG:xmm.]],[[REG]]
+; CHECK: fld
+}
+
+define internal double @undef_double() {
+entry:
+ ret double undef
+; CHECK-LABEL: undef_double
+; CHECK: xorpd [[REG:xmm.]],[[REG]]
; CHECK: fld
}
@@ -192,7 +200,7 @@ entry:
%val = insertelement <4 x float> %arg, float undef, i32 0
ret <4 x float> %val
; CHECK-LABEL: vector_insertelement_arg2
-; CHECK: pxor [[REG:xmm.]],[[REG]]
+; CHECK: xorps [[REG:xmm.]],[[REG]]
; CHECK: {{movss|insertps}} {{.*}},[[REG]]
}

Powered by Google App Engine
This is Rietveld 408576698