[x86] don't try to create a vector integer inst for an SSE1 target (PR30512)
authorSanjay Patel <spatel@rotateright.com>
Sat, 24 Sep 2016 20:24:06 +0000 (20:24 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sat, 24 Sep 2016 20:24:06 +0000 (20:24 +0000)
commit752ad8fde7160c51f21cfcf92d84c7f534259051
treec46a4f20324bd1cd44d49c7ba8b7550ea59b64d3
parentc79d196c8eb6ebbade502e517ab62eb2fb156e5d
[x86] don't try to create a vector integer inst for an SSE1 target (PR30512)

This bug was introduced with:
http://reviews.llvm.org/rL272511

We need to restrict the lowering to v4f32 comparisons because that's all SSE1 can handle.

This should fix:
https://llvm.org/bugs/show_bug.cgi?id=28044

llvm-svn: 282336
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/sse1.ll