[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


================
@@ -2650,7 +2650,7 @@ static void scalarizeInstruction(const Instruction *Instr,
 void VPReplicateRecipe::execute(VPTransformState &State) {
   Instruction *UI = getUnderlyingInstr();
   if (State.Lane) { // Generate a single instance.
-    assert((State.VF.isScalar() || !isUniform()) &&
+    assert((State.VF.isScalar() || !isSingleScalar()) &&
            "uniform recipe shouldn't be predicated");
----------------
ayalz wrote:

```suggestion
           "single scalar recipe shouldn't be predicated");
```

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


More information about the llvm-commits mailing list