[VPlan] Improve code in VPWidenIntrinsic (NFC) (#141936)

Use operands() instead of {op_begin(), op_end()}.
This commit is contained in:
Ramkumar Ramachandra
2025-05-31 15:20:28 +02:00
committed by GitHub
parent 0adf6e8d33
commit 07ba406cbd

View File

@@ -1438,10 +1438,9 @@ public:
VPWidenIntrinsicRecipe *clone() override {
if (Value *CI = getUnderlyingValue())
return new VPWidenIntrinsicRecipe(*cast<CallInst>(CI), VectorIntrinsicID,
{op_begin(), op_end()}, ResultTy,
getDebugLoc());
return new VPWidenIntrinsicRecipe(VectorIntrinsicID, {op_begin(), op_end()},
ResultTy, getDebugLoc());
operands(), ResultTy, getDebugLoc());
return new VPWidenIntrinsicRecipe(VectorIntrinsicID, operands(), ResultTy,
getDebugLoc());
}
VP_CLASSOF_IMPL(VPDef::VPWidenIntrinsicSC)