summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/MSP430/MSP430ISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
index 64169d1f5eb..1ee5489f197 100644
--- 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;
}
OpenPOWER on IntegriCloud