[PATCH] D82329: [SVE] Fix invalid Scalable to fixed width vetor type demotion in LLT

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 14:31:43 PDT 2020


efriedma added a comment.

This code still won't actually work, either way.  (I think there's a patch out for review to disable GlobalISel for functions that contain scalable vectors?)

If you don't want to deal with it now, just do `auto NumElements = cast<FixedVectorType>(VTy)->getNumElements();`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82329





More information about the llvm-commits mailing list