[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


================
@@ -279,7 +282,9 @@ ElementCount VFSelectionContext::getMaximizedVFForTarget(
   else
     MaxPermissibleVFWithoutMaxBW.FixedVF = MaxVF;
 
-  if (useMaxBandwidth(ComputeScalableMaxVF)) {
+  // REVEC: Avoid creating wider than expected scalable types by choosing
+  // VF > vscale x 1.
+  if (useMaxBandwidth(ComputeScalableMaxVF) && !Legal->LoopContainsVectors) {
----------------
fhahn wrote:

why is this specific to REVEC? 

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


More information about the llvm-branch-commits mailing list