[lld] [llvm] [X86] movsd/movss/movd/movq - add support for constant comments (PR #78601)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 02:31:26 PST 2024


================
@@ -5,7 +5,7 @@ define i64 @test1() nounwind {
 ; CHECK-LABEL: test1:
 ; CHECK:       # %bb.0: # %entry
 ; CHECK-NEXT:    #APP
-; CHECK-NEXT:    vmovq {{.*#+}} xmm16 = mem[0],zero
+; CHECK-NEXT:    vmovq 0, %xmm16
----------------
RKSimon wrote:

The instruction comes from inline assembly, when we had the comments in MC we could handle them, but not after moving to MI.

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


More information about the llvm-commits mailing list