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

Patrick Simmons via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 20 11:02:10 PDT 2025


linuxrocks123 wrote:

@gonzalobg other than the approach taken by PR #155491, I don't think there's any way to give hints about inline asm that won't cause compilation errors on compilers that don't understand the hints, whether that compiler is GCC or a version of LLVM prior to the release that understands the hints.  That is motivation for giving the hints as part of the asm string.  Since neither Rust nor anyone else needs to break that, I hope @RalfJung will decide not to break it.

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


More information about the llvm-commits mailing list