[all-commits] [llvm/llvm-project] 705f85: [Tosa] Disable tosa folder for non-int/float/index...

Tai Ly via All-commits all-commits at lists.llvm.org
Thu Jun 13 02:01:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 705f858157305865d9c14594a6c4c9fd6e46d835
      https://github.com/llvm/llvm-project/commit/705f858157305865d9c14594a6c4c9fd6e46d835
  Author: Tai Ly <tai.ly at arm.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [Tosa] Disable tosa folder for non-int/float/index types (#71757)

In order to fold, we need to create DenseElementsAttr, which does not
support quantized element types. This patch adds tests for folding
quntized element types and disable tosa folders where appropriate.

refactored canonicalize.mlir test to use --split-input-file

also fixed verifier for trait MulOperandsAndResultElementType for
quantized element types

Signed-off-by: Tai Ly <tai.ly at arm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list