[all-commits] [llvm/llvm-project] ee80ff: [mlir][Linalg] Add bounded recursion declaration t...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Nov 15 04:46:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee80ffbf9aa4ceb515233bdd841d3c8eae80c4d0
      https://github.com/llvm/llvm-project/commit/ee80ffbf9aa4ceb515233bdd841d3c8eae80c4d0
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add bounded recursion declaration to FMAOp -> LLVM conversion.

FMAOp -> LLVM conversion is done progressively by peeling off 1 dimension from FMAOp at each pattern iteration. Add the recursively bounded property declaration to the pattern so that the rewriter can apply it multiple times.

Without this, FMAOps with 3+D do not lower to LLVM.

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




More information about the All-commits mailing list