comment shiftamountthreshold
authorjoanlluch <joan.lluch@icloud.com>
Thu, 7 Nov 2019 16:41:05 +0000 (17:41 +0100)
committerjoanlluch <joan.lluch@icloud.com>
Thu, 7 Nov 2019 16:41:05 +0000 (17:41 +0100)
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp

index 64169d1..1ee5489 100644 (file)
@@ -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;
 }