[PATCH] D129205: [BasicBlockUtils] Allow splitting predecessors with callbr terminators

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 09:37:21 PDT 2022


nickdesaulniers added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LICM.cpp:1510-1512
   for (BasicBlock *BBPred : predecessors(BB)) {
-    if (isa<IndirectBrInst>(BBPred->getTerminator()) ||
-        isa<CallBrInst>(BBPred->getTerminator()))
----------------
I think I attempted this in https://reviews.llvm.org/D94833, see the attached bug report from @nathanchance .


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

https://reviews.llvm.org/D129205



More information about the llvm-commits mailing list