summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-11-19 14:42:28 +0000
committerSanjay Patel <spatel@rotateright.com>2018-11-19 14:42:28 +0000
commita1dca3553ef4e429ce38e56c8dded33f62788dda (patch)
treef4d074bd19d4571b63b65befda216490fbf99cc0 /llvm/test/CodeGen
parent7a51bdcf3b60817f09d94258f97ce266cda403ee (diff)
downloadbcm5719-llvm-a1dca3553ef4e429ce38e56c8dded33f62788dda.tar.gz
bcm5719-llvm-a1dca3553ef4e429ce38e56c8dded33f62788dda.zip
[SelectionDAG] simplify select FP with undef condition
llvm-svn: 347212
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/select_const.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/select_const.ll b/llvm/test/CodeGen/X86/select_const.ll
index 53230e8835e..0f252c8261f 100644
--- a/llvm/test/CodeGen/X86/select_const.ll
+++ b/llvm/test/CodeGen/X86/select_const.ll
@@ -506,6 +506,7 @@ define i64 @opaque_constant(i1 %cond, i64 %x) {
define float @select_undef_fp(float %x) {
; CHECK-LABEL: select_undef_fp:
; CHECK: # %bb.0:
+; CHECK-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero
; CHECK-NEXT: retq
%f = select i1 undef, float 4.0, float %x
ret float %f
OpenPOWER on IntegriCloud