[llvm] [mlir] [mlir][EmitC] Add MathToEmitC pass for math function lowering to EmitC (PR #113799)

Simon Camphausen via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 07:06:25 PDT 2024


================
@@ -0,0 +1,133 @@
+// RUN: mlir-opt --split-input-file -convert-math-to-emitc -verify-diagnostics %s | FileCheck %s
----------------
simon-camp wrote:

Split this into math-to-emitc.mlir for positive tests and math-to-emitc-failed.mlir for negative tests. You can then drop `--split-input-file`, `verify-diagnostics` and the `// -----` separators from the positve tests.

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


More information about the llvm-commits mailing list