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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 08:20:32 PDT 2022


foad 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.)

Sorry I was wrong about the empty strings. LLPC <https://github.com/GPUOpen-Drivers/llpc> typically uses "; %1" as the string - although we could change that.


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

https://reviews.llvm.org/D135733



More information about the llvm-commits mailing list