[llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #83068)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 07:30:41 PST 2024
================
@@ -273,8 +274,27 @@ VPInstruction::VPInstruction(unsigned Opcode,
assert(isFPMathOp() && "this op can't take fast-math flags");
}
-Value *VPInstruction::generateInstruction(VPTransformState &State,
- unsigned Part) {
+bool VPInstruction::generatesScalars() const {
----------------
ayalz wrote:
nit: worth clarifying, say, by calling it isGeneratesScalars(), to avoid confusion with the other generate*() methods?
https://github.com/llvm/llvm-project/pull/83068
More information about the llvm-commits
mailing list