[all-commits] [llvm/llvm-project] f00a7a: [DAG] Fold insert_subvector (splat X), (splat X), ...
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Jul 8 08:50:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f00a7a49bde2504a08777bffdb85bce0c4bff83c
https://github.com/llvm/llvm-project/commit/f00a7a49bde2504a08777bffdb85bce0c4bff83c
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-07-08 (Tue, 08 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/RISCV/rvv/insert-subvector.ll
Log Message:
-----------
[DAG] Fold insert_subvector (splat X), (splat X), N2 - > splat X (#147380)
If we're inserting a splat into a splat of the same value, then
regardless of the index, the result is simply a splat of that value.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list