[PATCH] D87585: [AMDGPU] Dynamically clear renamable to avoid constant bus errors

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 08:06:20 PDT 2020


rampitec added a comment.

In D87585#2274280 <https://reviews.llvm.org/D87585#2274280>, @critson wrote:

> The numbers for this change are not vastly compelling.
> I looked at 11598 game shaders and compiled these for GFX7, GFX9 and GFX10.
> On GFX7, 1 shader lost 1 instruction.
> On GFX9, 1 shader lost 1 instruction, but 64 shaders gained 1 instruction.
> On GFX10, 1 shader lost 1 instruction, but 2 shaders gained 1 instruction.
>
> I started this change as I am looking at moving WQM after MI scheduling, and this potentially leaves some additional copies around.
> But I could addressed these with very limited special case copy elimination in the WQM pass itself.
>
> Does anyone have an opinion on whether I should continue pushing this?

Honestly it does not sound like a good justification for a new pass.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87585



More information about the llvm-commits mailing list