[PATCH] D98856: Always emit error for wrong interfaces to scalable vectors, unless cmdline flag is passed.

Christopher Tetreault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 19 09:41:01 PDT 2021


ctetreau accepted this revision.
ctetreau added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: llvm/lib/CodeGen/ValueTypes.cpp:17
 
+unsigned EVT::getVectorNumElements() const {
+  auto Error = []() {
----------------
Out of curiosity, what is the eventual plan for this function? Does it go away, or will it just assert if this is a scalable vector?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98856/new/

https://reviews.llvm.org/D98856



More information about the cfe-commits mailing list