[Mlir-commits] [mlir] [mlir][tosa][tosa-to-linalg] Add NaN Mode Lowering (PR #125668)

Thomas Preud'homme llvmlistbot at llvm.org
Fri Feb 21 08:36:32 PST 2025


================
@@ -32,10 +32,47 @@
 #include "llvm/ADT/Sequence.h"
 
 #include <numeric>
+#include <type_traits>
 
 using namespace mlir;
 using namespace mlir::tosa;
 
+// Helper function to materialize the semantically correct compare and select
+// operations a binary operation with a specific NaN propagation mode.
----------------
RoboTux wrote:

```suggestion
// operations given a binary operation with a specific NaN propagation mode.
```

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


More information about the Mlir-commits mailing list