[Mlir-commits] [mlir] [mlir][tosa] Add log2_ceil/log2_floor/exp2_shape ops (PR #175057)

Luke Hutton llvmlistbot at llvm.org
Thu Jan 8 13:40:17 PST 2026


================
@@ -4685,6 +4685,27 @@ LogicalResult tosa::ConcatShapeOp::verify() {
   return success();
 }
 
+LogicalResult tosa::Exp2ShapeOp::verify() {
----------------
lhutton1 wrote:

Although we previously discussed this, I think my preference would be to remove these `REQUIRE` checks for now as we haven't included these for other ops. They can be checked instead at the execution time of the operator or during shape inference, when the input operands are expected to be constant.

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


More information about the Mlir-commits mailing list