[Mlir-commits] [mlir] [mlir][tosa] Add add/sub/mul/div_floor/div_ceil_shape ops (PR #169321)

Sayan Saha llvmlistbot at llvm.org
Mon Dec 15 06:56:44 PST 2025


================
@@ -30,15 +30,8 @@ def TosaShapeOperator : NativeOpTrait<"TosaShapeOperator"> {
 
 class Tosa_ShapeOp<string mnemonic, list<Trait> traits = []>
     : Tosa_Op<mnemonic, !listconcat(traits, [TosaShapeOperator, Pure])> {
-  list<Availability> availability = [
-    Profile<[Tosa_PRO_INT, Tosa_PRO_FP]>,
-    Extension<[]>,
-  ];
----------------
sahas3 wrote:

Clarification: Given that most of the ops (except for `tosa.const_shape`) have the same Profile and Extension, what was the motivation to remove the default and specify this info on each individual op?

https://github.com/llvm/llvm-project/pull/169321


More information about the Mlir-commits mailing list