[llvm] [VPlan] Rename isUniform(AfterVectorization) to isSingleScalar (NFC). (PR #140134)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 16 04:13:33 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()) &&
----------------
ayalz wrote:
Independent: if VF.isScalar() implies isSingleScalar() (worth asserting elsewhere), suffice here to assert the latter.
https://github.com/llvm/llvm-project/pull/140134
More information about the llvm-commits
mailing list