[all-commits] [llvm/llvm-project] 627fb6: [SelectionDAG] Fold extracts spanning concat operands

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Tue Jun 9 14:13:06 PDT 2026


  Branch: refs/heads/users/krzysz00/extract-concat-dagcombine
  Home:   https://github.com/llvm/llvm-project
  Commit: 627fb6819ec0f6c2f04cbb1f8247604963c5586e
      https://github.com/llvm/llvm-project/commit/627fb6819ec0f6c2f04cbb1f8247604963c5586e
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/fixed-vector-interleave.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-vector-llrint.ll
    M llvm/test/CodeGen/AArch64/sve-fixed-vector-lrint.ll
    M llvm/test/CodeGen/AMDGPU/bf16.ll
    M llvm/test/CodeGen/X86/combine-pmuldq.ll
    M llvm/test/CodeGen/X86/ifma-combine-vpmadd52.ll
    M llvm/test/CodeGen/X86/madd.ll
    M llvm/test/CodeGen/X86/pmaddubsw.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-6.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-6.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-6.ll
    M llvm/test/CodeGen/X86/vector-replicaton-i1-mask.ll
    M llvm/test/CodeGen/X86/widen_fadd.ll
    M llvm/test/CodeGen/X86/widen_fdiv.ll
    M llvm/test/CodeGen/X86/widen_fmul.ll
    M llvm/test/CodeGen/X86/widen_fsub.ll

  Log Message:
  -----------
  [SelectionDAG] Fold extracts spanning concat operands

Factor the extract_subvector-of-CONCAT_VECTORS logic and handle
extracts that cover multiple whole concat operands by rebuilding a
smaller concat directly.

AI note: an LLM generated the code and the test, I've read them

Co-Authored-By: OpenAI Codex <codex at openai.com>


  Commit: 4aec8f646f01662aa7aa0cecb9e658757b7a61f5
      https://github.com/llvm/llvm-project/commit/4aec8f646f01662aa7aa0cecb9e658757b7a61f5
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  Make this work on scalable vectors


  Commit: 73f9be7e8c58c92f2ddc8765f305cd66998d2fe5
      https://github.com/llvm/llvm-project/commit/73f9be7e8c58c92f2ddc8765f305cd66998d2fe5
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/sve-load-store-legalisation.ll
    M llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll

  Log Message:
  -----------
  scalable vector test updates


  Commit: 74cdf1bbe40758c23afc96b35ad9f34c55cab107
      https://github.com/llvm/llvm-project/commit/74cdf1bbe40758c23afc96b35ad9f34c55cab107
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  Review feedback


Compare: https://github.com/llvm/llvm-project/compare/9b19bab0e13f...74cdf1bbe407

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