[all-commits] [llvm/llvm-project] d4a999: [SLP] reduce code duplication; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Tue Jan 5 12:32:21 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d4a999b453a4d3cfeee02f00f4900327fc7fcede
      https://github.com/llvm/llvm-project/commit/d4a999b453a4d3cfeee02f00f4900327fc7fcede
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] reduce code duplication; NFC


  Commit: 5a1d31a28490e85de440b55e2e257b61d32e85b9
      https://github.com/llvm/llvm-project/commit/5a1d31a28490e85de440b55e2e257b61d32e85b9
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] use reduction kind's opcode for cost model queries; NFC

This should be no-functional-change because the reduction kind
opcodes are 1-for-1 mappings to the instructions we are matching
as reductions. But we want to remove the need for the
`OperationData` opcode field because that does not work when
we start matching intrinsics (eg, maxnum) as reduction candidates.


Compare: https://github.com/llvm/llvm-project/compare/ee11bf316f6b...5a1d31a28490


More information about the All-commits mailing list