[llvm] [VPlan] Rename isUniform(AfterVectorization) to isSingleScalar (NFC). (PR #140134)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri May 16 04:13:34 PDT 2025
    
    
  
================
@@ -2668,16 +2668,15 @@ void VPReplicateRecipe::execute(VPTransformState &State) {
     return;
   }
 
-  if (IsUniform) {
+  if (IsSingleScalar) {
     // Uniform within VL means we need to generate lane 0.
     scalarizeInstruction(UI, this, VPLane(0), State);
     return;
   }
 
   // A store of a loop varying value to a uniform address only needs the last
----------------
ayalz wrote:
```suggestion
  // A store of a loop varying value to a single address only needs the last
```
https://github.com/llvm/llvm-project/pull/140134
    
    
More information about the llvm-commits
mailing list