Skip to content
  1. Jun 03, 2021
  2. May 21, 2021
  3. May 13, 2021
  4. May 07, 2021
  5. May 05, 2021
  6. May 03, 2021
  7. Apr 21, 2021
  8. Apr 20, 2021
  9. Apr 12, 2021
  10. Apr 09, 2021
  11. Apr 05, 2021
  12. Mar 29, 2021
  13. Mar 24, 2021
  14. Mar 23, 2021
  15. Mar 21, 2021
  16. Feb 08, 2021
  17. Feb 05, 2021
  18. Jan 22, 2021
  19. Dec 21, 2020
  20. Dec 02, 2020
  21. Nov 04, 2020
    • mikeurbach's avatar
      [MLIR] Move eraseArguments and eraseResults to FunctionLike · 2e36e0da
      mikeurbach authored
      Previously, they were only defined for `FuncOp`.
      
      To support this, `FunctionLike` needs a way to get an updated type
      from the concrete operation. This adds a new hook for that purpose,
      called `getTypeWithoutArgsAndResults`.
      
      For now, `FunctionLike` continues to assume the type is
      `FunctionType`, and concrete operations that use another type can hide
      the `getType`, `setType`, and `getTypeWithoutArgsAndResults` methods.
      
      Reviewed By: rriddle
      
      Differential Revision: https://reviews.llvm.org/D90363
      2e36e0da
  22. Oct 27, 2020
    • River Riddle's avatar
      [mlir][Pattern] Add a new FrozenRewritePatternList class · 3fffffa8
      River Riddle authored
      This class represents a rewrite pattern list that has been frozen, and thus immutable. This replaces the uses of OwningRewritePatternList in pattern driver related API, such as dialect conversion. When PDL becomes more prevalent, this API will allow for optimizing a set of patterns once without the need to do this per run of a pass.
      
      Differential Revision: https://reviews.llvm.org/D89104
      3fffffa8
    • River Riddle's avatar
      [mlir][NFC] Move around the code related to PatternRewriting to improve layering · b6eb26fd
      River Riddle authored
      There are several pieces of pattern rewriting infra in IR/ that really shouldn't be there. This revision moves those pieces to a better location such that they are easier to evolve in the future(e.g. with PDL). More concretely this revision does the following:
      
      * Create a Transforms/GreedyPatternRewriteDriver.h and move the apply*andFold methods there.
      The definitions for these methods are already in Transforms/ so it doesn't make sense for the declarations to be in IR.
      
      * Create a new lib/Rewrite library and move PatternApplicator there.
      This new library will be focused on applying rewrites, and will also include compiling rewrites with PDL.
      
      Differential Revision: https://reviews.llvm.org/D89103
      b6eb26fd
    • MaheshRavishankar's avatar
      [mlir][Linalg] Miscalleneous enhancements to cover more fusion cases. · 78f37b74
      MaheshRavishankar authored
      Adds support for
      - Dropping unit dimension loops for indexed_generic ops.
      - Folding consecutive folding (or expanding) reshapes when the result
        (or src) is a scalar.
      - Fixes to indexed_generic -> generic fusion when zero-dim tensors are
        involved.
      
      Differential Revision: https://reviews.llvm.org/D90118
      78f37b74
  23. Sep 30, 2020
  24. Sep 23, 2020
  25. Sep 22, 2020
  26. Jul 20, 2020
    • Jakub Lichman's avatar
      [mlir] Added support for symbols inside linalg.generic and map concatenation · f9c8febc
      Jakub Lichman authored
      This commit adds functionality needed for implementation of convolutions with
      linalg.generic op. Since linalg.generic right now expects indexing maps to be
      just permutations, offset indexing needed in convolutions is not possible.
      Therefore in this commit we address the issue by adding support for symbols inside
      indexing maps which enables more advanced indexing. The upcoming commit will
      solve the problem of computing loop bounds from such maps.
      
      Differential Revision: https://reviews.llvm.org/D83158
      f9c8febc
  27. May 28, 2020
    • MaheshRavishankar's avatar
      [mlir][Linalg] Add pass to remove unit-extent dims from tensor · 2b0c8546
      MaheshRavishankar authored
      operands of Generic ops.
      
      Unit-extent dimensions are typically used for achieving broadcasting
      behavior. The pattern added (along with canonicalization patterns
      added previously) removes the use of unit-extent dimensions, and
      instead uses a more canonical representation of the computation.  This
      new pattern is not added as a canonicalization for now since it
      entails adding additional reshape operations. A pass is added to
      exercise these patterns, along with an API entry to populate a
      patterns list with these patterns.
      
      Differential Revision: https://reviews.llvm.org/D79766
      2b0c8546
Loading