[all-commits] [llvm/llvm-project] c4eec9: [X86] combineConcatVectorOps - add concatenation h...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Mar 21 07:23:11 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/matrix-multiply.ll
    M llvm/test/CodeGen/X86/vector-shuffle-combining-avx512f.ll

  Log Message:
  -----------
  [X86] combineConcatVectorOps - add concatenation handling for consecutive extracts of upper subvectors (#132389)

We already fold concat(extract_subvector(x,0), extract_subvector(x,numsubelts)) -> (wider lower half) extract_subvector(x,0)

This patch extends this handling for the concat(extract_subvector(x,c), extract_subvector(x,c+numsubelts)) -> (wider upper half) extract_subvector(x,c) case as well



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