summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoanlluch <joan.lluch@icloud.com>2019-11-07 17:41:05 +0100
committerjoanlluch <joan.lluch@icloud.com>2019-11-07 17:41:05 +0100
commit0d3d3822f53b12ad292c3a63eb47cbe3ac59d0cf (patch)
treed74cc401de6f751e32500e155fa6009d601aa069
parent6f8ee2c5755cb47190bc1aa8c5d8905317e8806f (diff)
downloadbcm5719-llvm-0d3d3822f53b12ad292c3a63eb47cbe3ac59d0cf.tar.gz
bcm5719-llvm-0d3d3822f53b12ad292c3a63eb47cbe3ac59d0cf.zip
comment shiftamountthreshold
-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