Currently SplitEdge does not support passing in parameter which allows you to name the newly created BasicBlock.
This patch updates the function such that the name of the block can be passed in, if users of this utility decide to do so.
Paths
| Differential D94176
[SplitEdge] Add new parameter to SplitEdge to name the newly created basic block ClosedPublic Authored by sidbav on Jan 6 2021, 7:01 AM.
Details Summary Currently SplitEdge does not support passing in parameter which allows you to name the newly created BasicBlock. This patch updates the function such that the name of the block can be passed in, if users of this utility decide to do so.
Diff Detail Event Timeline
This revision is now accepted and ready to land.Jan 6 2021, 6:21 PM Closed by commit rG048f184ee488: [SplitEdge] Add new parameter to SplitEdge to name the newly created basic block (authored by sidbav). · Explain WhyJan 7 2021, 6:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 314912 llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
|
how about the critical edge case? can we pass BBName there too?