Fix PR10499
authorMichael Liao <michael.liao@intel.com>
Mon, 25 Feb 2013 23:01:03 +0000 (23:01 +0000)
committerMichael Liao <michael.liao@intel.com>
Mon, 25 Feb 2013 23:01:03 +0000 (23:01 +0000)
commit5e6e15caa79c30e155665e58b81540ec15e52051
treec567b8886c4d1cc5f492a7744bb68a655642600b
parentb90cc2fa0b50321e32786e87f8425658d88982ee
Fix PR10499

- Check whether SSE is available before lowering all 1s vector building with
  PCMPEQD, which is only available from SSE2

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176058 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/pr10499.ll [new file with mode: 0644]