Skip to content

Commit 50bfaaa

Browse files
committed
[VPlan] Improve code in VPWidenIntrinsic (NFC)
1 parent 29db305 commit 50bfaaa

File tree

1 file changed

+3
-4
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+3
-4
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,10 +1425,9 @@ class VPWidenIntrinsicRecipe : public VPRecipeWithIRFlags, public VPIRMetadata {
14251425
VPWidenIntrinsicRecipe *clone() override {
14261426
if (Value *CI = getUnderlyingValue())
14271427
return new VPWidenIntrinsicRecipe(*cast<CallInst>(CI), VectorIntrinsicID,
1428-
{op_begin(), op_end()}, ResultTy,
1429-
getDebugLoc());
1430-
return new VPWidenIntrinsicRecipe(VectorIntrinsicID, {op_begin(), op_end()},
1431-
ResultTy, getDebugLoc());
1428+
operands(), ResultTy, getDebugLoc());
1429+
return new VPWidenIntrinsicRecipe(VectorIntrinsicID, operands(), ResultTy,
1430+
getDebugLoc());
14321431
}
14331432

14341433
VP_CLASSOF_IMPL(VPDef::VPWidenIntrinsicSC)

0 commit comments

Comments
 (0)