[all-commits] [llvm/llvm-project] 6926a6: [mlir][tosa] Allow shift operand of tosa::MulOp as...

ShivaChen via All-commits all-commits at lists.llvm.org
Thu Aug 28 05:35:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6926a6b57177b7c1c96daef7a175b3209821b809
      https://github.com/llvm/llvm-project/commit/6926a6b57177b7c1c96daef7a175b3209821b809
  Author: ShivaChen <32083954+ShivaChen at users.noreply.github.com>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-invalid.mlir
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir

  Log Message:
  -----------
  [mlir][tosa] Allow shift operand of tosa::MulOp as non-constant (#155197)

The shift operand of tosa::MulOp could be non-constant when the dynamic
extension enabled. Given that checkConstantOperandMul could check the
shift operand according to the extension, we might able to relax the
checking in TosaToLinalg.

Relative discussion:
https://discourse.llvm.org/t/tosa-ext-dynamic-clearification-needed/87478?u=r2333333.



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