[all-commits] [llvm/llvm-project] 7c35aa: Mark TensorDialect legal and PadTensor op illegal

Yi Zhang via All-commits all-commits at lists.llvm.org
Thu Jul 8 15:02:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c35aae35b2c386b59af58c56ed36908f3d68371
      https://github.com/llvm/llvm-project/commit/7c35aae35b2c386b59af58c56ed36908f3d68371
  Author: Yi Zhang <cathyzhyi at google.com>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
    M mlir/test/Dialect/Linalg/bufferize.mlir

  Log Message:
  -----------
  Mark TensorDialect legal and PadTensor op illegal

`GeneralizePadTensorOpPattern` might generate `tensor.dim` op so the
TensorDialect should be marked legal. This pattern should also
transform all `linalg.pad_tensor` ops so mark those as illegal. Those
changes are missed from a previous change in
https://reviews.llvm.org/D105293

Reviewed By: silvas

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




More information about the All-commits mailing list