[llvm] [VPlan] Rename isUniform(AfterVectorization) to isSingleScalar (NFC). (PR #140134)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri May 16 06:26:32 PDT 2025
    
    
  
================
@@ -37,8 +37,9 @@ VPValue *getOrCreateVPValueForSCEVExpr(VPlan &Plan, const SCEV *Expr,
 /// SCEV expression could be constructed.
 const SCEV *getSCEVExprForVPValue(VPValue *V, ScalarEvolution &SE);
 
-/// Returns true if \p VPV is uniform after vectorization.
-inline bool isUniformAfterVectorization(const VPValue *VPV) {
+/// Returns true if \p VPV is a single scalar, either because it produces the
+/// same value for all lanes or only has its first lane used.
----------------
fhahn wrote:
Updated thanks
https://github.com/llvm/llvm-project/pull/140134
    
    
More information about the llvm-commits
mailing list