[PATCH] D106758: [AMDGPU] We would need FP if there is call and caller save VGPR spills

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 27 08:26:18 PDT 2021


arsenm added a comment.

In D106758#2907086 <https://reviews.llvm.org/D106758#2907086>, @RamNalamothu wrote:

> In D106758#2904887 <https://reviews.llvm.org/D106758#2904887>, @arsenm wrote:
>
>> LGTM except the test is using dead code. I also think we ought to be able to remove VGPRReservedForSGPRSpill now that SGPR and VGPR allocation are split
>
> I think that's out of the scope for this review.

Yes, but would be a good follow up change.

This test looks nearly identical to test/CodeGen/AMDGPU/need-fp-from-csr-vgpr-spill.ll. Can the two be merged? I don't actually see why the existing test didn't catch this and isn't changed


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106758/new/

https://reviews.llvm.org/D106758



More information about the llvm-commits mailing list