[llvm] [DAG] visitEXTRACT_VECTOR_ELT - constant fold legal fp imm values (PR #74304)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 03:59:57 PST 2023
================
@@ -29,8 +29,8 @@ define void @store_64(ptr %ptr) {
; X86-LABEL: store_64:
; X86: # %bb.0: # %BB
; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
-; X86-NEXT: xorps %xmm0, %xmm0
-; X86-NEXT: movlps %xmm0, (%eax)
+; X86-NEXT: movl $0, 4(%eax)
+; X86-NEXT: movl $0, (%eax)
----------------
phoebewang wrote:
I wonder whether 2 `movl` is better than one `movlps`
https://github.com/llvm/llvm-project/pull/74304
More information about the llvm-commits
mailing list