[all-commits] [llvm/llvm-project] 92e0c0: [DAG] Restrict insert_subvector undef, splat_veect...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Aug 18 12:44:30 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92e0c0dc1a4f015e05a54094a4a94ddb0c5d9112
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/RISCV/rvv/splats-with-mixed-vl.ll

  Log Message:
  [DAG] Restrict insert_subvector undef, splat_veector, dontcare transform

On the extract_subvector side, we already have the restriction. With D158201, we'd start getting unprofitable splat combines unless we add the same one on the extract_subvector side.

Differential Revision: https://reviews.llvm.org/D158202

More information about the All-commits mailing list