summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2014-01-20 18:41:34 +0000
committerOwen Anderson <resistor@mac.com>2014-01-20 18:41:34 +0000
commitdaa4c91647ae5abfc55bd1425ecf146680ca7bd1 (patch)
treefd21e8dd21cb02cc65e9245f1a26ea50a53cff00 /lib/Transforms/Utils/LoopSimplify.cpp
parent61a7bb039a1d218a17db16383ebed43abbdd1b2b (diff)
downloadllvm-daa4c91647ae5abfc55bd1425ecf146680ca7bd1.tar.gz
llvm-daa4c91647ae5abfc55bd1425ecf146680ca7bd1.tar.bz2
llvm-daa4c91647ae5abfc55bd1425ecf146680ca7bd1.tar.xz
Allow SMUL_LOHI and UMUL_LOHI to be narrow to MUL on targets where MUL is Custom rather than Legal. Even if the target is doing some kind of expansion for MUL, it's pretty much guaranteed to be more efficent than whatever it does for SMUL_LOHI or UMUL_LOHI!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions