[PATCH] D82641: [AMDGPU] Unify early PS termination blocks
Carl Ritson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 04:18:38 PDT 2020
critson created this revision.
critson added reviewers: nhaehnle, arsenm, tpr, cdevadas.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
critson added a comment.
This is a stepping stop to adding early termination in more places because it means termination can be added anywhere in a basic block (without splitting basic blocks).
Will need to be revised with D77544 <https://reviews.llvm.org/D77544> is committed.
Generate a single early exit block out-of-line and branch to this
if all lanes are killed. This avoids branching if lanes are active.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82641
Files:
llvm/lib/Target/AMDGPU/SIInsertSkips.cpp
llvm/test/CodeGen/AMDGPU/insert-skips-kill-uncond.mir
llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82641.273653.patch
Type: text/x-patch
Size: 9868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200626/7de17907/attachment.bin>
More information about the llvm-commits
mailing list