[all-commits] [llvm/llvm-project] 136eb7: [MLIR][Standard] Add `dynamic_tensor_from_elements...

frgossen via All-commits all-commits at lists.llvm.org
Mon Sep 7 04:45:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 136eb79a8846c4e8ff6ba5ccfc0c470ab351fb13
      https://github.com/llvm/llvm-project/commit/136eb79a8846c4e8ff6ba5ccfc0c470ab351fb13
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2020-09-07 (Mon, 07 Sep 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/SCFOps.td
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
    M mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
    M mlir/lib/Conversion/SCFToStandard/SCFToStandard.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/lib/Dialect/SCF/SCF.cpp
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/lib/Dialect/Shape/Transforms/ShapeToShapeLowering.cpp
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/Dialect/Standard/invalid.mlir
    M mlir/test/Dialect/Standard/ops.mlir

  Log Message:
  -----------
  [MLIR][Standard] Add `dynamic_tensor_from_elements` operation

With `dynamic_tensor_from_elements` tensor values of dynamic size can be
created. The body of the operation essentially maps the index space to tensor
elements.

Declare SCF operations in the `scf` namespace to avoid name clash with the new
`std.yield` operation. Resolve ambiguities between `linalg/shape/std/scf.yield`
operations.

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




More information about the All-commits mailing list