[all-commits] [llvm/llvm-project] 12a316: [MLIR][TOSA] Fix Conv3D bias dim check (#137296)

RoboTux via All-commits all-commits at lists.llvm.org
Fri Apr 25 05:55:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12a31658ea36cda74157c6b4e6b6c031e39a19c0
      https://github.com/llvm/llvm-project/commit/12a31658ea36cda74157c6b4e6b6c031e39a19c0
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2025-04-25 (Fri, 25 Apr 2025)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/availability.mlir
    M mlir/test/Dialect/Tosa/invalid_extension.mlir
    M mlir/test/Dialect/Tosa/ops.mlir
    M mlir/test/Dialect/Tosa/profile_pro_fp_unsupported.mlir
    M mlir/test/Dialect/Tosa/profile_pro_int_unsupported.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir

  Log Message:
  -----------
  [MLIR][TOSA] Fix Conv3D bias dim check (#137296)

verifyConvOpErrorIf() assumes output channel is the 4th dimension of the
output type but this is wrong for conv3d which now uses that verifier.
Use rank - 1 which works accross the operations using this verifier
(conv2d, conv3d and depthwise_conv3d).



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