[VPlan] Improve code in VPWidenIntrinsic (NFC) (#141936)
Use operands() instead of {op_begin(), op_end()}.
This commit is contained in:
committed by
GitHub
parent
0adf6e8d33
commit
07ba406cbd
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user