Legalize the shift amount operand of SRL_PARTS, SHL_PARTS, and
authorDan Gohman <gohman@apple.com>
Tue, 18 Aug 2009 23:36:17 +0000 (23:36 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 18 Aug 2009 23:36:17 +0000 (23:36 +0000)
commitdb8dc2b9faf346fbfa04c07f501981250948f5e2
treebc9547a6d9766e8391471af5d4ad7c0d690b3f4a
parentab810275448c34c072c47be1f16ae1d679bfd20c
Legalize the shift amount operand of SRL_PARTS, SHL_PARTS, and
SRA_PARTS, as is done for SRL, SHL, and SRA.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79380 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/X86/shift-parts.ll [new file with mode: 0644]