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

Ralf Jung via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 02:37:48 PDT 2025


RalfJung wrote:

That guarantee does not hold unconditionally since pure asm blocks can be removed.

I am not sure how to best phrase a separate "preserve verbatim" guarantee or if it is needed. After all most replacements would require analyzing what the asm block does and we are ruling that out. In particular that bswap optimization should be ruled out.

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


More information about the llvm-commits mailing list