[all-commits] [llvm/llvm-project] 711c58: [mlir][math] Update math arith expansions for vect...

Rob Suderman via All-commits all-commits at lists.llvm.org
Thu Apr 6 11:43:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 711c58938f36d91af1dc4209946bcf5e70869445
      https://github.com/llvm/llvm-project/commit/711c58938f36d91af1dc4209946bcf5e70869445
  Author: Robert Suderman <suderman at google.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
    M mlir/test/Dialect/Math/expand-math.mlir
    M mlir/test/lib/Dialect/Math/TestExpandMath.cpp

  Log Message:
  -----------
  [mlir][math] Update math arith expansions for vectorization

The math arithmetic expansions do not support vectorized types.
Updated the lowerings so that they support vectorized types. This
includes a different implementation for `math.ctlz` to be a binary
search and not have variable termination time.

Reviewed By: jpienaar, NatashaKnk

Differential Revision: https://reviews.llvm.org/D147289




More information about the All-commits mailing list