Skip to content

Commit bc03423

Browse files
committed
[flang] Upstream recent work on FIR to llvm-project.
Summary: Reviewers: DavidTruby, sscalpone, jeanPerier Subscribers: mgorny, aartbik, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78835
1 parent bc7f324 commit bc03423

File tree

9 files changed

+1636
-424
lines changed

9 files changed

+1636
-424
lines changed

flang/include/flang/Optimizer/Dialect/FIRDialect.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,6 @@
1313
#include "mlir/InitAllDialects.h"
1414
#include "mlir/InitAllPasses.h"
1515

16-
namespace llvm {
17-
class raw_ostream;
18-
class StringRef;
19-
} // namespace llvm
20-
21-
namespace mlir {
22-
class Attribute;
23-
class DialectAsmParser;
24-
class DialectAsmPrinter;
25-
class Location;
26-
class MLIRContext;
27-
class Type;
28-
} // namespace mlir
29-
3016
namespace fir {
3117

3218
/// FIR dialect

flang/include/flang/Optimizer/Dialect/FIROps.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#define OPTIMIZER_DIALECT_FIROPS_H
1111

1212
#include "mlir/Dialect/StandardOps/IR/Ops.h"
13+
#include "mlir/Interfaces/LoopLikeInterface.h"
14+
#include "mlir/Interfaces/SideEffects.h"
1315

1416
using namespace mlir;
1517

0 commit comments

Comments
 (0)