We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96547de commit 466ff3eCopy full SHA for 466ff3e
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -1412,7 +1412,7 @@ class VPIRInstruction : public VPRecipeBase {
1412
InstructionCost computeCost(ElementCount VF,
1413
VPCostContext &Ctx) const override;
1414
1415
- Instruction &getInstruction() { return I; }
+ Instruction &getInstruction() const { return I; }
1416
1417
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
1418
/// Print the recipe.
0 commit comments