[all-commits] [llvm/llvm-project] 8b2850: [mlir][MemRef][TransformOps] Fix error reporting f...

qcolombet via All-commits all-commits at lists.llvm.org
Mon Feb 13 03:35:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b28500f60b716a353b733a0111aae6a4a5e9854
      https://github.com/llvm/llvm-project/commit/8b28500f60b716a353b733a0111aae6a4a5e9854
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
    M mlir/test/Dialect/MemRef/transform-ops.mlir

  Log Message:
  -----------
  [mlir][MemRef][TransformOps] Fix error reporting for multibuffer

Multibuffer will fail to apply on allocs that are used outside of loops.
This was properly caught in the current implementation but the way we report
it was broken.
Notes cannot be emitted on their own, they need to be attached to another
main diagnostic.

Long story short, change the severity of the report from Note to Error.

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




More information about the All-commits mailing list