[all-commits] [llvm/llvm-project] e6eb94: [mlir][tosa] Add missing verifier check for `tosa....

Longsheng Mou via All-commits all-commits at lists.llvm.org
Fri Sep 20 02:49:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6eb94d3982cc55b16f62a17177dab7da46ae0f0
      https://github.com/llvm/llvm-project/commit/e6eb94d3982cc55b16f62a17177dab7da46ae0f0
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/invalid.mlir

  Log Message:
  -----------
  [mlir][tosa] Add missing verifier check for `tosa.reshape` (#109301)

This PR adds a missing verifier check for `tosa.reshape`, ensuring that
the number of elements in `new_shape` matches the number of elements in
the input tensor. Fixes #108151 and fixes #107969.



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