[PATCH] D91435: [AMDGPU] Split edge to make si_if dominate end_cf

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 04:44:45 PST 2020


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

New test created to cover both failed cases:

- end_cf in the block that has yet another predecessor besides that one defining the exec mask
- given the pattern above - not any visited node denotes a loop, only when we have a backage i.e. block's successor dominates the block.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91435

Files:
  llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  llvm/test/CodeGen/AMDGPU/virtual-register-defs-dont-dominate-all-uses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91435.313535.patch
Type: text/x-patch
Size: 7094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201223/ba17e21b/attachment.bin>


More information about the llvm-commits mailing list