[PATCH] D90314: [AMDGPU] SILowerControlFlow::removeMBBifRedundant. Refactoring plus fix for the null MBB pointer in MF->splice

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 30 04:10:15 PDT 2020


alex-t marked an inline comment as done.
alex-t added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp:705
 
-    return true;
+  assert(MBB.succ_size() == 1 && "MBB has more then one successor");
+
----------------
foad wrote:
> Typo "than".
Thanks :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90314



More information about the llvm-commits mailing list