[PATCH] D89397: [AMDGPU] SILowerControlFlow::removeMBBifRedundant should not try to change MBB layout if it can fallthrough

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 23 14:18:01 PDT 2020


alex-t updated this revision to Diff 300411.
alex-t added a comment.

This change addresses the refactoring adviced by foad. It also contain the fix for the case when getNextNode is null if the successor block is the last in MachineFunction.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89397

Files:
  llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89397.300411.patch
Type: text/x-patch
Size: 3654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201023/24ee2cfd/attachment.bin>


More information about the llvm-commits mailing list