Fix mul expansion to check the correct number of bits for
authorDan Gohman <gohman@apple.com>
Mon, 10 Mar 2008 20:42:19 +0000 (20:42 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 10 Mar 2008 20:42:19 +0000 (20:42 +0000)
commit76c605b18ee74e2c521a02431ab9e1ce6912d827
tree61ec582ca5f8969ba7815c3f4f041a5a963db487
parent62fcc41d958bf9b8cee43271789136cb7100705f
Fix mul expansion to check the correct number of bits for
zero extension when checking if an unsigned multiply is
safe.

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