[PATCH] D117499: [CodeGen] Support extracting fixed-length vectors from illegal scalable vectors

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 10:58:37 PDT 2022


efriedma added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:3034
+  if (SubVT.getScalarType() == MVT::i1)
+    llvm_unreachable("Don't know how to extract fixed-width predicate "
+                     "subvector from a scalable predicate vector");
----------------
Please use report_fatal_error so we get a diagnostic even if assertions aren't enabled.


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

https://reviews.llvm.org/D117499



More information about the llvm-commits mailing list