[PATCH] D80341: [SVE] Eliminate calls to default-false VectorType::get() from polly
Christopher Tetreault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 14:52:59 PDT 2020
ctetreau marked an inline comment as done.
ctetreau added inline comments.
================
Comment at: polly/lib/CodeGen/BlockGenerators.cpp:1108
auto *Pointer = Load->getPointerOperand();
- VectorType *VectorType = VectorType::get(
+ auto *VectorType = FixedVectorType::get(
dyn_cast<PointerType>(Pointer->getType())->getElementType(), VectorWidth);
----------------
fpetrogalli wrote:
> While on this, maybe rename the variable `VectorType` to something that doesn't confuse the types? `VecTy`?
Wow, yeah, that's a bit of an unfortunate name...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80341/new/
https://reviews.llvm.org/D80341
More information about the llvm-commits
mailing list