[all-commits] [llvm/llvm-project] b8cb36: [SelectionDAG] Fold nonzero extract-of-extract ind...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Fri Jun 5 10:17:50 PDT 2026


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

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

  Log Message:
  -----------
  [SelectionDAG] Fold nonzero extract-of-extract indices

Generalize the extract_subvector-of-extract_subvector fold to compose
nonzero indices instead of only handling an outer index of zero.

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

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



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