[llvm] [mlir] [mlir][EmitC] Add MathToEmitC pass for math function lowering to EmitC (PR #113799)
Marius Brehler via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 29 12:35:06 PDT 2024
================
@@ -0,0 +1,19 @@
+//===- MathToEmitC.h - Math to EmitC Pass -----------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef MLIR_CONVERSION_MATHTOEMITC_MATHTOEMITC_H
+#define MLIR_CONVERSION_MATHTOEMITC_MATHTOEMITC_H
+
+namespace mlir {
+class RewritePatternSet;
+
+void populateConvertMathToEmitCPatterns(RewritePatternSet &patterns);
+
----------------
marbre wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/113799
More information about the llvm-commits
mailing list