[llvm] [LangRef] inline asm: the instructions are treated opaquely (PR #157080)
Patrick Simmons via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 16 23:59:58 PDT 2025
linuxrocks123 wrote:
@RalfJung whether or not we ultimately go with the comment approach -- which is the approach currently in use by the user of this feature, who already has a private build -- I don't think anyone has made a case that it is necessary to prohibit anything not relevant to self-modifying code.
I agree that my previous suggested language was insufficient, so how about this: "No optimizations may be performed which would be incorrect if the inline assembly string were changed to any other instruction or sequence of instructions that still respects all of the operand constraints and attributes placed on the inline assembly."
https://github.com/llvm/llvm-project/pull/157080
More information about the llvm-commits
mailing list