[all-commits] [llvm/llvm-project] 2dea00: [X86] combine-pmadd.ll - add demandedelts tests fo...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 21 06:40:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dea00b1437f8620e56e5f1f9566492514ac8647
      https://github.com/llvm/llvm-project/commit/2dea00b1437f8620e56e5f1f9566492514ac8647
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] combine-pmadd.ll - add demandedelts tests for pmaddwd/pmaddubsw

pmaddwd is already handled, but pmaddubsw is missing


  Commit: 0be0ab90684102d1bed40362b895579f346e0fc0
      https://github.com/llvm/llvm-project/commit/0be0ab90684102d1bed40362b895579f346e0fc0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] SimplifyDemandedVectorEltsForTargetNode - add X86ISD::VPMADDUBSW handling

In general terms, this can reuse the X86ISD::VPMADDWD code (num src elts = 2 * num dst elts) and same zero behaviour.


Compare: https://github.com/llvm/llvm-project/compare/dc5d54108138...0be0ab906841

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