[PATCH] D82210: [SVE] Remove calls to VectorType::getNumElements from CodeGen
Christopher Tetreault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 8 11:57:04 PDT 2020
ctetreau added a comment.
@sdesmalen I went ahead and made the requested changes. In ValueType.cpp, rather than leaving the code alone, I went ahead and returned getElementCount().Min along with adding a warning if the vector was scalable. This way getNumElement() can be removed in the future without having to touch this file again.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82210/new/
https://reviews.llvm.org/D82210
More information about the llvm-commits
mailing list