[all-commits] [llvm/llvm-project] 381823: [mlir][Tiling] Properly reject "buffer semantic" o...

qcolombet via All-commits all-commits at lists.llvm.org
Thu Feb 9 00:20:39 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38182378ffe37f262f7772a921fde2fa292ee5ff
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/test/Dialect/GPU/transform-gpu-failing.mlir

  Log Message:
  [mlir][Tiling] Properly reject "buffer semantic" operations

Our tiling implementation assumes a "tensor semantic" for the operation to
be tiled.
Prior to this patch, if we provide a tilable op with "buffer semantic", we
will assert instead of gracefully reject the input.

This patch turns the assert in a proper error.

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

More information about the All-commits mailing list