[Mlir-commits] [mlir] [mlir][emitc] Add op modelling C expressions (PR #71631)

Marius Brehler llvmlistbot at llvm.org
Mon Dec 18 23:00:36 PST 2023


================
@@ -0,0 +1,34 @@
+//===- Transforms.h - EmitC transformations as patterns --------*- 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_DIALECT_EMITC_TRANSFORMS_TRANSFORMS_H
+#define MLIR_DIALECT_EMITC_TRANSFORMS_TRANSFORMS_H
+
+#include "mlir/Dialect/EmitC/IR/EmitC.h"
+#include "mlir/IR/PatternMatch.h"
+
+namespace mlir {
+namespace emitc {
+
+//===----------------------------------------------------------------------===//
+// Expression transforms.
----------------
marbre wrote:

NIT:
```suggestion
// Expression transforms
```

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


More information about the Mlir-commits mailing list