[PATCH] D112418: [fir][NFC] Move MLIR includes to FIRDialect.td
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 25 09:33:56 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG84486cb22265: [fir][NFC] Move MLIR includes to FIRDialect.td (authored by clementval).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112418/new/
https://reviews.llvm.org/D112418
Files:
flang/include/flang/Optimizer/Dialect/FIRDialect.td
flang/include/flang/Optimizer/Dialect/FIROps.td
Index: flang/include/flang/Optimizer/Dialect/FIROps.td
===================================================================
--- flang/include/flang/Optimizer/Dialect/FIROps.td
+++ flang/include/flang/Optimizer/Dialect/FIROps.td
@@ -14,11 +14,7 @@
#ifndef FORTRAN_DIALECT_FIR_OPS
#define FORTRAN_DIALECT_FIR_OPS
-include "mlir/IR/SymbolInterfaces.td"
-include "mlir/Interfaces/CallInterfaces.td"
-include "mlir/Interfaces/ControlFlowInterfaces.td"
-include "mlir/Interfaces/LoopLikeInterface.td"
-include "mlir/Interfaces/SideEffectInterfaces.td"
+include "flang/Optimizer/Dialect/FIRDialect.td"
include "flang/Optimizer/Dialect/FIRTypes.td"
// Base class for FIR operations.
Index: flang/include/flang/Optimizer/Dialect/FIRDialect.td
===================================================================
--- flang/include/flang/Optimizer/Dialect/FIRDialect.td
+++ flang/include/flang/Optimizer/Dialect/FIRDialect.td
@@ -14,6 +14,12 @@
#ifndef FORTRAN_DIALECT_FIR_DIALECT
#define FORTRAN_DIALECT_FIR_DIALECT
+include "mlir/IR/SymbolInterfaces.td"
+include "mlir/Interfaces/CallInterfaces.td"
+include "mlir/Interfaces/ControlFlowInterfaces.td"
+include "mlir/Interfaces/LoopLikeInterface.td"
+include "mlir/Interfaces/SideEffectInterfaces.td"
+
def fir_Dialect : Dialect {
let name = "fir";
let cppNamespace = "::fir";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112418.382029.patch
Type: text/x-patch
Size: 1334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211025/727a3177/attachment.bin>
More information about the llvm-commits
mailing list