Skip to content
  1. 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
  2. Nov 03, 2020
  3. Nov 02, 2020
  4. Oct 30, 2020
    • ergawy's avatar
      [MLIR][SPIRV] Start module combiner. · 90a8260c
      ergawy authored
      This commit adds a new library that merges/combines a number of spv
      modules into a combined one. The library has a single entry point:
      combine(...).
      
      To combine a number of MLIR spv modules, we move all the module-level ops
      from all the input modules into one big combined module. To that end, the
      combination process can proceed in 2 phases:
      
        (1) resolving conflicts between pairs of ops from different modules
        (2) deduplicate equivalent ops/sub-ops in the merged module. (TODO)
      
      This patch implements only the first phase.
      
      Reviewed By: antiagainst
      
      Differential Revision: https://reviews.llvm.org/D90477
      90a8260c
    • Sean Silva's avatar
      [mlir] Move some linalg patterns around. · 30e130c3
      Sean Silva authored
      The bufferization patterns are moved to the .cpp file, which is
      preferred in the codebase when it makes sense.
      
      The LinalgToStandard patterns are kept a header because they are
      expected to be used individually. However, they are moved to
      LinalgToStandard.h which is the file corresponding to where they are
      defined.
      
      This also removes TensorCastOpConverter, which is handled by
      populateStdBufferizePatterns now. Eventually, the constant op lowering
      will be handled as well, but it there are currently holdups on moving
      it (see https://reviews.llvm.org/D89916).
      
      Differential Revision: https://reviews.llvm.org/D90254
      30e130c3
    • Geoffrey Martin-Noble's avatar
      Revert "[MLIR][SPIRV] Start module combiner." · 1142eaed
      Geoffrey Martin-Noble authored
      This reverts commit 27324f28.
      
      Shared libs build is broken linking lib/libMLIRSPIRVModuleCombiner.so:
      
      ```
      ModuleCombiner.cpp:
        undefined reference to `mlir::spirv::ModuleOp::addressing_model()
      ```
      
      https://buildkite.com/mlir/mlir-core/builds/8988#e3d966b9-ea43-492e-a192-b28e71e9a15b
      1142eaed
    • ergawy's avatar
      [MLIR][SPIRV] Start module combiner. · 27324f28
      ergawy authored
      This commit adds a new library that merges/combines a number of spv
      modules into a combined one. The library has a single entry point:
      combine(...).
      
      To combine a number of MLIR spv modules, we move all the module-level ops
      from all the input modules into one big combined module. To that end, the
      combination process can proceed in 2 phases:
      
        (1) resolving conflicts between pairs of ops from different modules
        (2) deduplicate equivalent ops/sub-ops in the merged module. (TODO)
      
      This patch implements only the first phase.
      
      Reviewed By: antiagainst
      
      Differential Revision: https://reviews.llvm.org/D90477
      27324f28
    • Mehdi Amini's avatar
      Revert "[MLIR][SPIRV] Start module combiner" · b3430ed0
      Mehdi Amini authored
      This reverts commit 316593ce.
      Build is broken with:
      
      TestModuleCombiner.cpp:(.text._ZN12_GLOBAL__N_122TestModuleCombinerPass14runOnOperationEv+0x195): undefined reference to `mlir::spirv::combine(llvm::MutableArrayRef<mlir::spirv::ModuleOp>, mlir::OpBuilder&, llvm::function_ref<void (mlir::spirv::ModuleOp, llvm::StringRef, llvm::StringRef)>)'
      b3430ed0
    • ergawy's avatar
      [MLIR][SPIRV] Start module combiner · 316593ce
      ergawy authored
      This commit adds a new library that merges/combines a number of spv
      modules into a combined one. The library has a single entry point:
      combine(...).
      
      To combine a number of MLIR spv modules, we move all the module-level ops
      from all the input modules into one big combined module. To that end, the
      combination process can proceed in 2 phases:
      
        (1) resolving conflicts between pairs of ops from different modules
        (2) deduplicate equivalent ops/sub-ops in the merged module. (TODO)
      
      This patch implements only the first phase.
      
      Reviewed By: antiagainst
      
      Differential Revision: https://reviews.llvm.org/D90022
      316593ce
    • Mehdi Amini's avatar
      Fix "incorrect" assertions in Linalg/EDSC/Builders.cpp (NFC) · c23cb8b0
      Mehdi Amini authored
      It is semantically equivalent, but the intent was really lost there.
      This fixes a warning/error from MSVC as well, see PR48013
      c23cb8b0
  5. Oct 29, 2020
  6. Oct 28, 2020
  7. Oct 27, 2020
  8. Oct 26, 2020
  9. Oct 24, 2020
Loading