forked from OSchip/llvm-project
[CodeGen] Use "DL.getPointerSizeInBits" instead of "8 * DL.getPointerSize". NFC
llvm-svn: 360315
This commit is contained in:
parent
fb0f66ddb3
commit
8d19e94f13
|
@ -722,7 +722,7 @@ void TargetLoweringBase::initActions() {
|
|||
|
||||
MVT TargetLoweringBase::getScalarShiftAmountTy(const DataLayout &DL,
|
||||
EVT) const {
|
||||
return MVT::getIntegerVT(8 * DL.getPointerSize(0));
|
||||
return MVT::getIntegerVT(DL.getPointerSizeInBits(0));
|
||||
}
|
||||
|
||||
EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy, const DataLayout &DL,
|
||||
|
|
Loading…
Reference in New Issue