[llvm] [AMDGPU] Don't assume a hazard for empty inline asm (PR #223526)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 00:24:31 PDT 2026
nikic wrote:
> My understanding is that LangRef imposes constraints on the upstream generic compiler, but these restrictions do not apply to domain-specific passes within our target backend.
LangRef describes the IR semantics. Backends must lower in a way that satisfies the specified semantics.
I don't know what kind of hazard this PR is referring to -- if this is just an optimization question, then I believe looking into inline assembly to drive heuristics is technically allowed. If this is a correctness question, then it's not allowed.
https://github.com/llvm/llvm-project/pull/223526
More information about the llvm-commits
mailing list