summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-21 22:51:46 +0000
committerOwen Anderson <resistor@mac.com>2010-09-21 22:51:46 +0000
commit861416757246f7e2d42cc465137d520105f569ab (patch)
treed788bc1f713c5690e293df2eb8f6fa4dff71f901 /lib
parent5fa42a45a1845046dde84089fb4d8e1e1b329b65 (diff)
downloadllvm-861416757246f7e2d42cc465137d520105f569ab.tar.gz
llvm-861416757246f7e2d42cc465137d520105f569ab.tar.bz2
llvm-861416757246f7e2d42cc465137d520105f569ab.tar.xz
Enable target-specific mul-lowering on ARM, even at -Os. Remove a test that this makes
irrelevant, but add a new test for the new, improved functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 69ceb7abdf..1a3b82ffcc 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -4194,10 +4194,6 @@ static SDValue PerformMULCombine(SDNode *N,
if (Subtarget->isThumb1Only())
return SDValue();
- if (DAG.getMachineFunction().
- getFunction()->hasFnAttr(Attribute::OptimizeForSize))
- return SDValue();
-
if (DCI.isBeforeLegalize() || DCI.isCalledByLegalizer())
return SDValue();