[PATCH] D98874: [TTI] Return a TypeSize from getRegisterBitWidth.
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 18 09:49:49 PDT 2021
paulwalker-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h:111
+ return TypeSize::getScalable(
+ ST->hasSVE() ? std::max(ST->getMinSVEVectorSizeInBits(), 128u) : 0);
}
----------------
I don't think you intended this change. `getMinSVEVectorSizeInBits` is used to enable larger fixed length vectors and so belongs with the request for `RGK_FixedWidthVector`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98874/new/
https://reviews.llvm.org/D98874
More information about the llvm-commits
mailing list