[llvm] [SDAG] Match BUILD_VECTOR in INSERT_SUBVECTOR to SPLAT_VECTOR fold (PR #163984)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 17 15:32:18 PDT 2025
================
@@ -8,7 +8,7 @@
define void @pr35443() {
; CHECK-LABEL: pr35443:
; CHECK: # %bb.0: # %entry
-; CHECK-NEXT: vpbroadcastb ac+4(%rip), %xmm0
+; CHECK-NEXT: vpbroadcastb ac+4(%rip), %ymm0
----------------
MacDue wrote:
I may move this fold to AArch64 only, it looks like RISCV may also have some trouble with this form, so I'm not sure applying it generally is worthwhile.
https://github.com/llvm/llvm-project/pull/163984
More information about the llvm-commits
mailing list