Skip to content
  1. Apr 05, 2021
  2. Apr 03, 2021
  3. Apr 02, 2021
  4. Apr 01, 2021
  5. Mar 31, 2021
  6. Mar 30, 2021
  7. Mar 29, 2021
  8. Mar 27, 2021
  9. Mar 26, 2021
  10. Mar 25, 2021
    • Stella Laurenzo's avatar
      [mlir][linalg] Add an InitTensorOp python builder. · ec294eb8
      Stella Laurenzo authored
      * This has the API I want but I am not thrilled with the implementation. There are various things that could be improved both about the way that Python builders are mapped and the way the Linalg ops are factored to increase code sharing between C++/Python.
      * Landing this as-is since it at least makes the InitTensorOp usable with the right API. Will refactor underneath in follow-ons.
      
      Differential Revision: https://reviews.llvm.org/D99000
      ec294eb8
    • Mehdi Amini's avatar
      Remove unused function, fix warning (NFC) · fcdf142e
      Mehdi Amini authored
      The `mayNotHaveTerminator` was initially on Block but moved to the
      verifier before landing and wasn't removed from its original place
      where it is unused.
      fcdf142e
    • Alexander Belyaev's avatar
      [mlir][linalg] Add output tensor args folding for linalg.tiled_loop. · 7f2236cf
      Alexander Belyaev authored
      Folds away TiledLoopOp output tensors when the following conditions are met:
      * result of `linalg.tiled_loop` has no uses
      * output tensor is the argument of `linalg.yield`
      
      Example:
      
      ```
      %0 = linalg.tiled_loop ...  outs (%out, %out_buf:tensor<...>, memref<...>) {
        ...
        linalg.yield %out : tensor ...
      }
      ```
      
      Becomes
      
      ```
      linalg.tiled_loop ...  outs (%out_buf:memref<...>) {
        ...
        linalg.yield
      }
      ```
      
      Differential Revision: https://reviews.llvm.org/D99333
      7f2236cf
Loading