[all-commits] [llvm/llvm-project] 344f59: [X86] combineTargetShuffle - fold (vzmovl (shift x...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue May 27 08:22:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 344f59401eb06e024b482e3b1873302d6f808bbf
      https://github.com/llvm/llvm-project/commit/344f59401eb06e024b482e3b1873302d6f808bbf
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/codegen-no-uselist-constantdata.ll
    M llvm/test/CodeGen/X86/urem-seteq-illegal-types.ll
    M llvm/test/CodeGen/X86/vec_insert-5.ll
    M llvm/test/CodeGen/X86/vector-shuffle-combining.ll

  Log Message:
  -----------
  [X86] combineTargetShuffle - fold (vzmovl (shift x, y)) -> (shift (vzmovl x), y) (#141579)

Move VZEXT_MOVL nodes up through shift nodes.

We should be trying harder to move VZEXT_MOVL towards any associated SCALAR_TO_VECTOR nodes to make use of MOVD/Q implicit zeroing of upper elements.

Fixes #141475



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