[llvm] [BranchFolder] Prevent nested salvage in empty BB chains with pseudo probes (PR #206092)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 05:24:23 PDT 2026


================
@@ -1283,6 +1283,11 @@ static bool IsBranchOnlyBlock(MachineBasicBlock *MBB) {
   return I->isBranch();
 }
 
+static bool HasPseudoProbe(const MachineBasicBlock &MBB) {
----------------
arsenm wrote:

needing to do a full scan of the block to find this doesn't sound right 

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


More information about the llvm-commits mailing list