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

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 05:14:10 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
----------------
phoebewang wrote:

Oh, I misunderstood it. The `0` is memory address, I took it as immediate.

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


More information about the llvm-commits mailing list