[llvm-branch-commits] [llvm] [LV][REVEC][AArch64] Proof of concept for re-vectorisation (PR #208213)

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 30 02:09:51 PDT 2026


================
@@ -350,6 +355,12 @@ bool VFSelectionContext::isScalableVectorizationAllowed() {
   // Disable scalable vectorization if the loop contains any instructions
   // with element types not supported for scalable vectors.
   if (any_of(ElementTypesInLoop, [&](Type *Ty) {
+        if (auto *FVTy = dyn_cast<FixedVectorType>(Ty)) {
----------------
fhahn wrote:

shouldn't the element types still be scalar types, same for widest and narrowest types

https://github.com/llvm/llvm-project/pull/208213


More information about the llvm-branch-commits mailing list