Get rid of an incorrect optimization for shuffles with PALIGNR and simplify isPALIGNR...
authorEli Friedman <eli.friedman@gmail.com>
Mon, 25 Jul 2011 21:36:45 +0000 (21:36 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 25 Jul 2011 21:36:45 +0000 (21:36 +0000)
commit63f8dde4827c801499a9887c7a10ba43dac9df08
tree3e33130c552dde6e76cfb921cb60a37abc451231
parent275944afb55086d0b4b20d4d831de7c1c7507925
Get rid of an incorrect optimization for shuffles with PALIGNR and simplify isPALIGNRMask.

Addresses PR10466, although the crash from that PR only triggers in cases where DAGCombine misses optimizing a shuffle.

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