[all-commits] [llvm/llvm-project] d1c4e8: [SLP] reduce opcode API dependency in reduction co...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Jan 18 06:39:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1c4e859ce42c35c61a0db2f1eb8a4209be4503d
      https://github.com/llvm/llvm-project/commit/d1c4e859ce42c35c61a0db2f1eb8a4209be4503d
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

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

  Log Message:
  -----------
  [SLP] reduce opcode API dependency in reduction cost calc; NFC

The icmp opcode is now hard-coded in the cost model call.
This will make it easier to eventually remove all opcode
queries for min/max patterns as we transition to intrinsics.


  Commit: 3dbbadb8ef53d1e91785c17ccd70848de7e842e9
      https://github.com/llvm/llvm-project/commit/3dbbadb8ef53d1e91785c17ccd70848de7e842e9
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

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

  Log Message:
  -----------
  [SLP] rename reduction query for min/max ops; NFC

This will avoid confusion once we start matching
min/max intrinsics. All of these hacks to accomodate
cmp+sel idioms should disappear once we canonicalize
to min/max intrinsics.


Compare: https://github.com/llvm/llvm-project/compare/2040c1110b66...3dbbadb8ef53


More information about the All-commits mailing list