[Mlir-commits] [mlir] [mlir][tosa] Fix no op clamp canonicalization when nan_mode = ignore (PR #229887)

Luke Hutton llvmlistbot at llvm.org
Mon Oct 12 01:52:00 PDT 2026


================
@@ -297,6 +297,16 @@ func.func @clamp_f32_is_noop(%arg0: tensor<4xf32>) -> tensor<4xf32> {
 
 // -----
 
+// CHECK-LABEL: @clamp_f32_nan_ignore_not_noop
+func.func @clamp_f32_nan_ignore_not_noop(%arg0: tensor<4xf32>) -> tensor<4xf32> {
----------------
lhutton1 wrote:

added, thanks!

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


More information about the Mlir-commits mailing list