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:
ac7eae5
)
SRA promotion is also not free.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 27 Apr 2010 19:48:31 +0000
(19:48 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 27 Apr 2010 19:48:31 +0000
(19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102456
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 3034afbd43b7683a3a1c0ac73b7264b653abb097..27668184c5bc343e95a30d40d6855006c1d47fa7 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-9948,7
+9948,6
@@
bool X86TargetLowering::isTypeDesirableForOp(unsigned Opc, EVT VT) const {
case ISD::ZERO_EXTEND:
case ISD::ANY_EXTEND:
case ISD::SHL:
- case ISD::SRA:
case ISD::SRL:
case ISD::SUB:
case ISD::ADD:
@@
-10000,8
+9999,8
@@
bool X86TargetLowering::IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const {
Promote = true;
break;
case ISD::SHL:
- case ISD::SR
A
:
-
case ISD::SRL:
{
+ case ISD::SR
L
:
+ {
SDValue N0 = Op.getOperand(0);
// Look out for (store (shl (load), x)).
if (MayFoldLoad(N0) && MayFoldIntoStore(Op))