[PATCH] D123230: [UnifyLoopExits] Reduce number of guard blocks

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 20:28:14 PDT 2022


critson added a comment.

@bcahoon Thanks!  I have attached what I think is a semi-representative test for the issue.

In the test Exit2, Exit3 and Exit4 should all reconverged at the TrueExit.
However with this change Exit3 and Exit4 are reconverged with C, prior to control transfer to TrueExit or Loop2.preheader.
Again this test has been heavily cut down from an actual shader, and has lost some nuance in the process, so let me know if you want the original.

F23574041: reduce-guards-maintain-reconvergence.ll <https://reviews.llvm.org/F23574041>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123230



More information about the llvm-commits mailing list