when transforming a MULHS into a wider MUL, there is no need to SRA the
authorChris Lattner <sabre@nondot.org>
Wed, 15 Dec 2010 05:51:39 +0000 (05:51 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Dec 2010 05:51:39 +0000 (05:51 +0000)
commit1a0fbe2cf438ac2788df669284293789681424e1
treeea11bc8217c895545c74d3f9478ea7ce26315395
parentba3c8155704e5e2ac24b5069c32bca359b0738ed
when transforming a MULHS into a wider MUL, there is no need to SRA the
result, the top bits are truncated off anyway, just use SRL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp