[llvm] [Codegen][X86] Fix /hotpatch with clang-cl and inline asm (PR #87639)
Alexandre Ganea via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 06:45:55 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:
----------------
aganea wrote:
Yes, it is intentional since I thought it doesn't bring value. The issue covered is not dependent of the specific architecture.
https://github.com/llvm/llvm-project/pull/87639
More information about the llvm-commits
mailing list