[llvm] [Codegen][X86] Fix /hotpatch with clang-cl and inline asm (PR #87639)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 07:37:34 PDT 2024


================
@@ -193,3 +193,20 @@ do.body:                                          ; preds = %do.body, %entry
 do.end:                                           ; preds = %do.body
   ret void
 }
+
+
+; Test that inline asm is properly hotpatched. We currently don't examine the
+; asm instruction when printing it, thus we always emit patching NOPs.
+
+; 64: inline_asm:
----------------
sylvain-audi wrote:

Adding a 32 bit version for completion would be nice, unless it is intentional?

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


More information about the llvm-commits mailing list