Remove usages of asserting vector getters in Type in preparation for the
VectorType refactor. The existence of these functions complicates the
refactor while adding little value.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM with nit addressed.
llvm/lib/Transforms/Utils/LoopUtils.cpp | ||
---|---|---|
987 | nit: Given that Src is always of VectorType, maybe just create a new variable auto *SrcTy = cast<VectorType>(Src->getType()) that would remove the need for the cast here and below.. |
nit: Given that Src is always of VectorType, maybe just create a new variable
that would remove the need for the cast here and below..