[llvm] [SDAG] Teach FoldConstantArithmetic to match splats inserted into vectors (PR #163984)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 22 06:22:42 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've come up with #164624 as a fairly conservative IR level approach.
https://github.com/llvm/llvm-project/pull/163984
More information about the llvm-commits
mailing list