[PATCH] D81495: [SVE] Remove invalid calls to VectorType::getNumElements from BasicTTIImpl
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 16 01:36:55 PDT 2020
RKSimon added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/BasicTTIImpl.h:84
+ unsigned getBroadcastShuffleOverhead(VectorType *InVTy) {
+ auto *VTy = cast<FixedVectorType>(InVTy);
+
----------------
We'd be better off just changing the function to take FixedVectorType, same for all the other cases below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81495/new/
https://reviews.llvm.org/D81495
More information about the llvm-commits
mailing list