From: joanlluch Date: Thu, 7 Nov 2019 16:41:05 +0000 (+0100) Subject: comment shiftamountthreshold X-Git-Tag: llvmorg-11-init~4793 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d3d3822f53b12ad292c3a63eb47cbe3ac59d0cf;p=platform%2Fupstream%2Fllvm.git comment shiftamountthreshold --- diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp index 64169d1..1ee5489 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; }