[PATCH] D78576: [SVE] Make VectorType::getNumElements() complain for scalable vectors
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 14:07:35 PDT 2020
nikic added inline comments.
================
Comment at: llvm/include/llvm/IR/DerivedTypes.h:421
+ unsigned getNumElements() const {
+ ElementCount EC = getElementCount();
+#ifdef STRICT_FIXED_SIZE_VECTORS
----------------
Tiny style nit: This line seems unnecessary, as `EC` is already a member of `VectorType`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78576/new/
https://reviews.llvm.org/D78576
More information about the llvm-commits
mailing list