[llvm] [LangRef] inline asm: the instructions are treated opaquely (PR #157080)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 02:21:32 PDT 2025
gonzalobg wrote:
LGTM.
Just to double check. This part:
> The compiler may not assume that the actual code executed at runtime matches the contents of the template string.
constraints the implementation to not modify the inline asm string beyond expanding the templating, guaranteeing that the block of code entered by the programmer is otherwise preserved kind of verbatim, which enables replacing it at runtime.
Is that correct?
https://github.com/llvm/llvm-project/pull/157080
More information about the llvm-commits
mailing list