[all-commits] [llvm/llvm-project] 818473: [mlir][Linalg] Clarify error message in YieldOp ve...

Felix S via All-commits all-commits at lists.llvm.org
Mon Aug 7 22:12:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8184737ce70fa2dcaee1a030c1b6df8f1f5550ae
      https://github.com/llvm/llvm-project/commit/8184737ce70fa2dcaee1a030c1b6df8f1f5550ae
  Author: Felix Schneider <fx.schn at gmail.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir

  Log Message:
  -----------
  [mlir][Linalg] Clarify error message in YieldOp verification NFC

The number of values yielded from a LinalgOp's payload has to match
the number of inits / outs operands of the LinalgOp.
These two numbers got mixed up in the respective error message, this
patch clarifies the message and updates the tests.

Reviewed By: nicolasvasilache, mehdi_amini

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




More information about the All-commits mailing list