[llvm] draft: inline asm mode (PR #146215)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 6 11:19:55 PST 2025


androm3da wrote:

> > I am not sure this works if someone uses `%=` correctly. That is:
> > ...
> 
> Hmm - okay, good point. I'll see how easy it is to make the directive work with these templates/format strings.

But @pinskia it says:

> The compiler replaces tokens in the template that refer to inputs, outputs, and goto labels, and then outputs the resulting string to the assembler. 

... this makes me think that the assembler wouldn't have a problem w/the post-compiler-emitted assembly.

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


More information about the llvm-commits mailing list