[PATCH] D139780: [AMDGPU] Unify divergent nodes if the PostDom tree has one root
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 06:02:43 PST 2022
arsenm added a comment.
I haven't looked closely but some of these test changes look worse
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp:192
+ (PDT.root_size() == 1 &&
+ !isa<BranchInst>(PDT.getRoot()->getTerminator())))
return false;
----------------
What about switches?
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