[PATCH] D28351: AMDGPU: Remove spurious out branches after a kill
Samuel Pitoiset via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 08:26:12 PST 2017
hakzsam added a comment.
No. Currently the code will become:
V_CMPX
S_BRANCH BB#other
S_CBRANCH_EXECNZ BB#next
Because S_CBRANCH_EXECNZ is added as terminator.
That's why my first was idea was to remove the unconditional branch *after* the kill.
I wrote a MIR test. I should probably send a new revision with the test.
https://reviews.llvm.org/D28351
More information about the llvm-commits
mailing list