[mips] In performDSPShiftCombine, check that all elements in the vector are
authorAkira Hatanaka <ahatanaka@mips.com>
Mon, 22 Apr 2013 19:58:23 +0000 (19:58 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Mon, 22 Apr 2013 19:58:23 +0000 (19:58 +0000)
commitd597263b9442923bacc24f26a8510fb69f992864
tree701478fef64be3c439f5d1cd02ef6054003fe009
parent6804971dcfbba1dcf7b0f8335588ba2ab6b0f073
[mips] In performDSPShiftCombine, check that all elements in the vector are
shifted by the same amount and the shift amount is smaller than the element
size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180039 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsDSPInstrInfo.td
lib/Target/Mips/MipsSEISelLowering.cpp
test/CodeGen/Mips/dsp-patterns.ll