aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-05-30 11:23:32 -0700
committerGitHub <noreply@github.com>2024-05-30 11:23:32 -0700
commit5785048321ab82d18667655681d871f7cdc357e5 (patch)
tree5617ec4091e15989825ec4064dd46761f98e090c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent8fa66c6ca7272268747835a0e86805307b62399c (diff)
downloadllvm-5785048321ab82d18667655681d871f7cdc357e5.zip
llvm-5785048321ab82d18667655681d871f7cdc357e5.tar.gz
llvm-5785048321ab82d18667655681d871f7cdc357e5.tar.bz2
[VPlan] Add VPIRBasicBlock, use to model pre-preheader. (#93398)
This patch adds a new 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. Making it a subclass of VPBasicBlock avoids duplicating various APIs to manage recipes in a block, as well as makes sure the traversals filtering VPBasicBlocks automatically apply as well. Initially VPIRBasicBlock are only used for the pre-preheader (wrapping the original preheader of the scalar loop). As follow-up, this will be used to move more parts of the skeleton inside VPlan, starting with the branch and condition in the middle block. Separated out of https://github.com/llvm/llvm-project/pull/92651 PR: https://github.com/llvm/llvm-project/pull/93398
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions