[all-commits] [llvm/llvm-project] c7198e: [DAG] Fold insert_subvector(N0, extract_subvector(...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Mar 26 03:04:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7198e0af34fc94722876d61af6e65758c316af5
      https://github.com/llvm/llvm-project/commit/c7198e0af34fc94722876d61af6e65758c316af5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/RISCV/rvv/vector-interleave-store.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-6.ll

  Log Message:
  -----------
  [DAG] Fold insert_subvector(N0, extract_subvector(N0, N2), N2) --> N0 (#86487)

Handle the case where we've ended up inserting back into the source vector we extracted the subvector from.



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