[llvm] [VPlan] Add VPIRInstruction, use for exit block live-outs. (PR #100735)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 25 06:57:54 PDT 2024
================
@@ -855,10 +855,18 @@ VPlan::~VPlan() {
delete BackedgeTakenCount;
}
+static VPIRBasicBlock *createVPIRBasicBlockFor(BasicBlock *BB) {
+ auto *VPIRBB = new VPIRBasicBlock(BB);
+ for (Instruction &I :
+ make_range(BB->begin(), BB->getTerminator()->getIterator()))
----------------
fhahn wrote:
This is intentional to skip the terminators and it allows to insert new recipes at the end of the VPIRBB.
https://github.com/llvm/llvm-project/pull/100735
More information about the llvm-commits
mailing list