[all-commits] [llvm/llvm-project] 618366: [X86] combineEXTRACT_SUBVECTOR - fold extractions ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Aug 14 05:52:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 618366546d37a47d907226fca0e3d54e18938497
      https://github.com/llvm/llvm-project/commit/618366546d37a47d907226fca0e3d54e18938497
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll
    M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast_from_memory.ll

  Log Message:
  -----------
  [X86] combineEXTRACT_SUBVECTOR - fold extractions from UNPCK nodes.

Allow subvector extraction as long as at least one operand extraction is free.

Refactor existing cases into a switch statement to allow easier reuse + future expansion.


  Commit: 503ba6262ed4c5d93c61392604c98cd9b3ae0e6c
      https://github.com/llvm/llvm-project/commit/503ba6262ed4c5d93c61392604c98cd9b3ae0e6c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll
    M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast_from_memory.ll

  Log Message:
  -----------
  [X86] combineEXTRACT_SUBVECTOR - fold extractions from BLENDI nodes.


Compare: https://github.com/llvm/llvm-project/compare/b72ac6f97a53...503ba6262ed4

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