[PATCH] D87543: AMDGPU: Always split si_end_cf blocks
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 07:56:43 PDT 2020
arsenm added a comment.
In D87543#2303584 <https://reviews.llvm.org/D87543#2303584>, @nhaehnle wrote:
> It's unclear to me what this is trying to achieve. If it is to prevent
>
> bb:
> <-- reload inserted here during live range splitting
> $exec = S_OR_B64 $exec, %other
> ... rest of code ...
>
> ... then this change only replaces it by:
>
> bb:
> <-- reload inserted here during live range splitting
> $exec = S_OR_B64_term $exec, %other
> // fallthrough
>
> bb.new:
> ... rest of code ...
>
> The inserted reload code is as incorrect as it was before.
I'm not trying to fully solve the live range splitting problem greedy regalloc hits. I'm trying to eliminate the isBasicBlockPrologue concept that fastregalloc trips over when inserting spills at the beginning of the block
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87543/new/
https://reviews.llvm.org/D87543
More information about the llvm-commits
mailing list