[llvm] [BasicBlockSections] Apply path cloning with -basic-block-sections. (PR #68860)

Sriraman Tallam via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 11:17:18 PDT 2023


================
@@ -99,6 +101,33 @@ static cl::opt<bool> BBSectionsDetectSourceDrift(
 
 namespace {
 
+MachineBasicBlock *CloneMachineBasicBlock(MachineBasicBlock *MBB) {
----------------
tmsri wrote:

Why can't this be part of the IR itself, why not in BasicBlock.h?  

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


More information about the llvm-commits mailing list