Commit 8a6d5f6
committed
[VPlan] Update more VPRecipeBuilder members to take VPInst directly (NFC)
Update VPRecipeBuilder methos to take VPInstruction* directly instead of
ArrayRef<> for operands and Instruction * separately.
This allows avoid accessing the underlying instruction in some cases, by
using information directly from VPInstruction, like getOpcode(),
getDebugLoc(), and getOperand().
It also allows directly transferring other information directly from
VPInstruction in the future.1 parent be0aa7b commit 8a6d5f6
File tree
2 files changed
+134
-133
lines changed- llvm/lib/Transforms/Vectorize
2 files changed
+134
-133
lines changed
0 commit comments