[PATCH] D120544: [AMDGPU] Omit unnecessary waitcnt before barriers
Mariusz Ceier via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 11:59:00 PDT 2022
mceier added a comment.
In D120544#3457456 <https://reviews.llvm.org/D120544#3457456>, @arsenm wrote:
> Can you post the IR and ISA for the failing shader?
I ran godot with `MESA_SHADER_CACHE_DISABLE=true RADV_DEBUG=shaders AMD_DEBUG=vs,ps,preoptir` environment variables set, are these logs enough:
- LLVM Without Revert (hangs GPU): F22818982: llvm-without-revert-godot-mesa.log <https://reviews.llvm.org/F22818982> dmesg: F22818999: dmesg.log <https://reviews.llvm.org/F22818999>
- LLVM With Revert: F22819003: llvm-with-revert-godot-mesa.log <https://reviews.llvm.org/F22819003>
Unfortunately I don't know how to pinpoint which exactly shader is at fault. I only noticed `s_waitcnt` is not emitted before `s_barrier` in the logs with hangup.
If these logs are not enough, I will probably need detailed instruction on how to get the IR/ISA files...
I know I can dump the shaders GLSL source by setting `MESA_SHADER_DUMP_PATH`, but I don't think these files are useful.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120544/new/
https://reviews.llvm.org/D120544
More information about the llvm-commits
mailing list