projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc5347
)
Remove the optimize for code size limitation on r67917. Optimize 64-bit imul by const...
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 1 Mar 2010 22:00:11 +0000
(22:00 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 1 Mar 2010 22:00:11 +0000
(22:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97507
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index b0a1bff04c12c526ce5ef97eab069500738b08d4..8cfc1b284154b68dd0154074c4aa6f5326178984 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-9233,10
+9233,6
@@
static SDValue PerformANDCombine(SDNode *N, SelectionDAG &DAG,
/// LEA + SHL, LEA + LEA.
static SDValue PerformMulCombine(SDNode *N, SelectionDAG &DAG,
TargetLowering::DAGCombinerInfo &DCI) {
- if (DAG.getMachineFunction().
- getFunction()->hasFnAttr(Attribute::OptimizeForSize))
- return SDValue();
-
if (DCI.isBeforeLegalize() || DCI.isCalledByLegalizer())
return SDValue();