[all-commits] [llvm/llvm-project] 08b097: [mlir][tosa] Add check if the operand of the opera...

TatWai Chong via All-commits all-commits at lists.llvm.org
Tue Mar 21 14:11:07 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08b0977a1925cf0a2cf6f87fcbf1d656e873f7c5
  Author: TatWai Chong <tatwai.chong at arm.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
    M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
    M mlir/test/Dialect/Tosa/invalid.mlir

  Log Message:
  [mlir][tosa] Add check if the operand of the operations is constant.

Some uses of TOSA rely on the constant operands of particular operations,
e.g. paddings and pad_const in pad op. Add a verification pattern in the
validation pass, and this is optionally enabled.

Change-Id: I1628c0840a27ab06ef91150eee56ad4f5ac9543d

Reviewed By: rsuderman

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

More information about the All-commits mailing list