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

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 22:16:56 PST 2023


gandhi21299 added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll:657
+; GFX908-NEXT:    s_mov_b64 s[22:23], -1
 ; GFX908-NEXT:    s_branch .LBB3_4
 ;
----------------
ruiling wrote:
> ruiling wrote:
> > Why there is no DummyReturnBlock for GFX908?
> Did you try to get the answer for the question? It sounds strange we get different behavior for gfx908 and gfx90A here.
In gfx908, the block is eliminated much later in the pipeline which does not happen in gfx90a.


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