File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -400,12 +400,10 @@ class TargetLoweringBase {
400
400
virtual MVT getScalarShiftAmountTy (const DataLayout &, EVT) const ;
401
401
402
402
// / Returns the type for the shift amount of a shift opcode. For vectors,
403
- // / returns the input type. For scalars, behavior depends on \p LegalTypes. If
404
- // / \p LegalTypes is true, calls getScalarShiftAmountTy, otherwise uses
405
- // / pointer type. If getScalarShiftAmountTy or pointer type cannot represent
406
- // / all possible shift amounts, returns MVT::i32. In general, \p LegalTypes
407
- // / should be set to true for calls during type legalization and after type
408
- // / legalization has been completed.
403
+ // / returns the input type. For scalars, calls getScalarShiftAmountTy.
404
+ // / If getScalarShiftAmountTy type cannot represent all possible shift
405
+ // / amounts, returns MVT::i32.
406
+ // / \p LegalTypes is no longer used and will be removed from the interface.
409
407
EVT getShiftAmountTy (EVT LHSTy, const DataLayout &DL,
410
408
bool LegalTypes = true ) const ;
411
409
You can’t perform that action at this time.
0 commit comments