[PATCH] D135733: AMDGPU: Treat asm as a hazard for all register read-after-write hazards

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 08:21:49 PDT 2022


kerbowa added a comment.

In D135733#3855154 <https://reviews.llvm.org/D135733#3855154>, @foad wrote:

> Could you detect empty inline asms and do this only for the non-empty ones? In graphics we use empty inline asms as some kind of scheduling barrier. (Granted this is just a workaround for problems elsewhere, but I don't really want it broken or penalised just now.)

Could you use llvm.amdgcn.sched.barrier instead?


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

https://reviews.llvm.org/D135733



More information about the llvm-commits mailing list