[llvm] [VPlan] Add VPIRBasicBlock, use to model pre-preheader. (PR #93398)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon May 27 22:12:50 PDT 2024


================
@@ -2951,6 +2960,50 @@ class VPBasicBlock : public VPBlockBase {
   BasicBlock *createEmptyBasicBlock(VPTransformState::CFGState &CFG);
 };
 
+/// A special type of VPBasicBlock that wraps an existing IR basic block.
+/// Recipes of the block get added before the terminator of the wrapped IR basic
+/// block.
----------------
fhahn wrote:

Yes, will update https://github.com/llvm/llvm-project/pull/92651 soon based on this PR. Left the order as is for now, to avoid updating IR tests. Can adjust order as follow-up

https://github.com/llvm/llvm-project/pull/93398


More information about the llvm-commits mailing list