[all-commits] [llvm/llvm-project] 5d2408: [SLP] reduce code for propagating flags on reducti...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Jan 6 11:42:42 PST 2021


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

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

  Log Message:
  -----------
  [SLP] reduce code for propagating flags on reductions; NFC

If we add/change to match intrinsics, this might get more
wordy, but there's no need to list each kind currently.


  Commit: 4c022b5a41dee998ae50cdad4e8b6548acbeee9f
      https://github.com/llvm/llvm-project/commit/4c022b5a41dee998ae50cdad4e8b6548acbeee9f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

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

  Log Message:
  -----------
  [SLP] use reduction kind's opcode to create new instructions; NFC

Similar to 5a1d31a28 -
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/7fea561eb1ce...4c022b5a41de


More information about the All-commits mailing list