[PATCH] D140069: [DAGCombiner] Scalarize vectorized loads that are splatted

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 07:39:33 PST 2022


luke added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/arm64-vmul.ll:1102-1106
+; CHECK-NEXT:    add x8, x1, #2
+; CHECK-NEXT:    ldr q1, [x0]
+; CHECK-NEXT:    ld1r.8h { v0 }, [x8]
+; CHECK-NEXT:    mul.8h v0, v1, v0
 ; CHECK-NEXT:    ret
----------------
Regression: Can the `add` be folded in as an immediate offset to `ld1r.8h { v0 }, [x8]`?
Same applies for the cases below


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140069/new/

https://reviews.llvm.org/D140069



More information about the llvm-commits mailing list