[all-commits] [llvm/llvm-project] 32b7c1: [mlir][TOSA] Set default TOSA validation level to ...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Tue Aug 8 03:19:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32b7c1ff3ed890bf3c7e56edbd4892400a915e1f
      https://github.com/llvm/llvm-project/commit/32b7c1ff3ed890bf3c7e56edbd4892400a915e1f
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp

  Log Message:
  -----------
  [mlir][TOSA] Set default TOSA validation level to 'None' for TOSA -> linalg

Unless otherwise specified this pass should not assume a level, as this
rejects otherwise valid TOSA. This has caused build failures in IREE.

The level (and other validation options) have now been made configurable.

The pass options have been converted to enums to make them more type
safe in C++.

Reviewed By: Tai78641

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




More information about the All-commits mailing list