Fix ARM isle code that optimize multiply by constants which are power-of-2 +/- 1.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 21 Jul 2009 00:31:12 +0000 (00:31 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 21 Jul 2009 00:31:12 +0000 (00:31 +0000)
commitaf9e7a7c20d541cfaaaed9dfa21046ac6652cc03
tree08c26deb36c7197cce8935a853a664a40c1e530b
parentc95be59371e0b9ed827076953fd7e1270e418ff8
Fix ARM isle code that optimize multiply by constants which are power-of-2 +/- 1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76520 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
test/CodeGen/ARM/mul_const.ll [new file with mode: 0644]
test/CodeGen/Thumb2/mul_const.ll [new file with mode: 0644]