projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f8ee2c
)
comment shiftamountthreshold
author
joanlluch
<joan.lluch@icloud.com>
Thu, 7 Nov 2019 16:41:05 +0000
(17:41 +0100)
committer
joanlluch
<joan.lluch@icloud.com>
Thu, 7 Nov 2019 16:41:05 +0000
(17:41 +0100)
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
index
64169d1
..
1ee5489
100644
(file)
--- a/
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
+++ b/
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
@@
-353,6
+353,7
@@
SDValue MSP430TargetLowering::LowerOperation(SDValue Op,
}
}
+// Set transforms into shift amounts above 2 as not profitable
unsigned MSP430TargetLowering::getShiftAmountThreshold(EVT VT) const {
return 2;
}