Skip to content

Commit

Permalink
[flang] Fix compilation after rename of Loop dialect to scf
Browse files Browse the repository at this point in the history
Summary: Flang was not compiling correctly after the renaming of Loop dialect to SCF. This patch fixes the problem.

Reviewers: ftynse, DavidTruby

Reviewed By: ftynse

Subscribers: aartbik, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79723
  • Loading branch information
clementval committed May 11, 2020
1 parent 3242e56 commit 63a4fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/include/flang/Optimizer/Dialect/FIRDialect.h
Expand Up @@ -38,7 +38,7 @@ inline void registerFIR() {
[[maybe_unused]] static bool init_once = [] {
mlir::registerDialect<mlir::AffineDialect>();
mlir::registerDialect<mlir::LLVM::LLVMDialect>();
mlir::registerDialect<mlir::loop::LoopOpsDialect>();
mlir::registerDialect<mlir::scf::SCFDialect>();
mlir::registerDialect<mlir::StandardOpsDialect>();
mlir::registerDialect<mlir::vector::VectorDialect>();
mlir::registerDialect<FIROpsDialect>();
Expand Down

0 comments on commit 63a4fdd

Please sign in to comment.