[PATCH] D94176: [SplitEdge] Add new parameter to SplitEdge to name the newly created basic block

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 07:03:50 PST 2021


Whitney added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:504
   Instruction *LatchTerm = BB->getTerminator();
   if (SplitCriticalEdge(
           LatchTerm, SuccNum,
----------------
how about the critical edge case? can we pass BBName there too?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94176/new/

https://reviews.llvm.org/D94176



More information about the llvm-commits mailing list