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
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | ||
---|---|---|
2632–2633 | If you change this to if (auto *VTy = dyn_cast<VectorType>(I.getOperand(i)->getType()) { you don't need the regular casts below. |
If you change this to
you don't need the regular casts below.