[all-commits] [llvm/llvm-project] a84c08: [X86][SSE] Add combine-pmadd.ll for PMADDWD/VPMADD...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Sep 2 02:51:18 PDT 2021


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

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

  Log Message:
  -----------
  [X86][SSE] Add combine-pmadd.ll for PMADDWD/VPMADDUBSW combines

Pre-commit for D108522 to show failure to fold multiply by zero operands


  Commit: b0acd6c36974f83799f2d278862081dfd4a0b2e0
      https://github.com/llvm/llvm-project/commit/b0acd6c36974f83799f2d278862081dfd4a0b2e0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

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

  Log Message:
  -----------
  [X86] Fold PMADD(x,0) or PMADD(0,x) -> 0

Pulled out of D108522 - handle zero-operand cases for PMADDWD/VPMADDUBSW ops


Compare: https://github.com/llvm/llvm-project/compare/d212bdf82883...b0acd6c36974


More information about the All-commits mailing list