OSDN Git Service

[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)
commitc7ebf69800e7671932c74a729128e90da60c4605
treee6e6ad5488c7dbcf68d4e6777d327c449b0ac8fb
parent3a296bc80d5d02a11e7bc95d8d743d3416df5790
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/sse1.ll