[llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #83068)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 13:51:04 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 {
----------------
fhahn wrote:

Updated to `doesGenerateScalars`. WDYT?

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


More information about the llvm-commits mailing list