[PATCH] D139780: [AMDGPU] Unify divergent nodes if the PostDom tree has one root

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 07:23:56 PST 2022


ruiling added a comment.

In D139780#4004766 <https://reviews.llvm.org/D139780#4004766>, @arsenm wrote:

> I haven't looked closely but some of these test changes look worse

We need this change to correctly structurize the function that ends with an infinite loop. Most test changes are minor except unstructured-cfg-def-use-issue.ll. This is mainly because it is compiled incorrectly before. We have to structurize a function if there is a divergent branch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139780



More information about the llvm-commits mailing list