[Mlir-commits] [mlir] [mlir][TOSA] Fix folding of fp casts to bool (PR #232254)

Michael Platings llvmlistbot at llvm.org
Thu Oct 15 04:37:56 PDT 2026


================
@@ -1524,6 +1524,25 @@ func.func @test_fold_i32_to_i1_cast() -> tensor<i1> {
 
 // -----
 
+// Fold both signed zeros to false and nonzero fractions to true.
----------------
mplatings wrote:

Is there a test of what happens when the value is not known at compile time?

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


More information about the Mlir-commits mailing list