[llvm] [LangRef] inline asm: the instructions are treated opaquely (PR #157080)

Jacob Lifshay via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 3 14:35:54 PDT 2025


programmerjake wrote:

> What about something like this?

looks good, though you should probably explicitly mention that empty strings can't be assumed to have no effect, there can be hardware-specific mechanisms to trap and change state there even if there are no instructions that can be overwritten there. also it's conventionally used as a compiler barrier.

https://github.com/llvm/llvm-project/pull/157080


More information about the llvm-commits mailing list