SelectionDAG: Use helper function to improve legalization of ISD::MUL
authorTom Stellard <thomas.stellard@amd.com>
Fri, 11 Apr 2014 16:12:01 +0000 (16:12 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 11 Apr 2014 16:12:01 +0000 (16:12 +0000)
commite04360918b5d2116ff0e79a0f5f080428563a716
tree35d9c110fe97b7c8703ccd72ce5f15502e892064
parentfdde7d211025c532525b19ef7b158d2c10ae1f5b
SelectionDAG: Use helper function to improve legalization of ISD::MUL

The TargetLowering::expandMUL() helper contains lowering code extracted
from the DAGTypeLegalizer and allows the SelectionDAGLegalizer to expand more
ISD::MUL patterns without having to use a library call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206037 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/R600/mul.ll
test/CodeGen/R600/mul_uint24-i64.ll [deleted file]
test/CodeGen/R600/mul_uint24.ll