[llvm] [mlir] [mlir][EmitC] Add MathToEmitC pass for math function lowering to EmitC (PR #113799)
Tomer Solomon via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 13 07:18:36 PST 2025
================
@@ -0,0 +1,21 @@
+//===- MathToEmitC.h - Math to EmitCPatterns -------------------*- 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
+#include "mlir/Dialect/EmitC/IR/EmitC.h"
+#include "mlir/Dialect/EmitC/Transforms/Passes.h"
----------------
recursion-man wrote:
Hi @marbre and @simon-camp,
I’ve updated the PR and made the changes as you suggested. Let me know if there’s anything else to address.
https://github.com/llvm/llvm-project/pull/113799
More information about the llvm-commits
mailing list