[CodeGen] Use "DL.getPointerSizeInBits" instead of "8 * DL.getPointerSize". NFC

llvm-svn: 360315
This commit is contained in:
Bjorn Pettersson 2019-05-09 08:07:36 +00:00
parent fb0f66ddb3
commit 8d19e94f13
1 changed files with 1 additions and 1 deletions

View File

@ -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,