[all-commits] [llvm/llvm-project] f63a08: [X86] SimplifyDemandedVectorEltsForTargetNode - ad...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jul 9 07:20:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f63a08bcbf763e3ca33afd3ad9850be9b0eca8d3
      https://github.com/llvm/llvm-project/commit/f63a08bcbf763e3ca33afd3ad9850be9b0eca8d3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-reduce-add-subvector.ll
    M llvm/test/CodeGen/X86/vector-reduce-add.ll

  Log Message:
  -----------
  [X86] SimplifyDemandedVectorEltsForTargetNode - add general X86ISD::PSADBW handling (#208309)

Extend the existing SimplifyMultipleUseDemandedVectorElts handling to
generic element folding as well.

lowerShuffleAsZeroOrAnyExtend requires an equivalent VZEXT_MOVL fold to
#207031 to stop us prematurely lowering to ZERO_EXTEND_VECTOR_INREG if
we only need the lowest element from a SCALAR_TO_VECTOR/LOAD



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