From 0d3d3822f53b12ad292c3a63eb47cbe3ac59d0cf Mon Sep 17 00:00:00 2001 From: joanlluch Date: Thu, 7 Nov 2019 17:41:05 +0100 Subject: [PATCH] comment shiftamountthreshold --- llvm/lib/Target/MSP430/MSP430ISelLowering.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.7.4