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

Tomer Solomon llvmlistbot at llvm.org
Wed Oct 30 02:49:03 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);
+
----------------
recursion-man wrote:

Changed

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


More information about the Mlir-commits mailing list