[PATCH] D121199: [RISCV] Don't enable loop vectorizer interleaving if the V extension is scalable
    Kito Cheng via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar  8 02:11:52 PST 2022
    
    
  
kito-cheng added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVSubtarget.h:226
   unsigned getMaxInterleaveFactor() const {
-    return hasVInstructions() ? MaxInterleaveFactor : 1;
+    return useRVVForFixedLengthVectors() ? MaxInterleaveFactor : 1;
   }
----------------
`useRVVForFixedLengthVectors()` means we CAN use fixed vector but isn't means we CAN ONLY use fixed vector for vectorizer, so I think that would be vectorizer issue rather than backend's issue.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121199/new/
https://reviews.llvm.org/D121199
    
    
More information about the llvm-commits
mailing list