[flang-commits] [flang] 63a4fdd - [flang] Fix compilation after rename of Loop dialect to scf
via flang-commits
flang-commits at lists.llvm.org
Mon May 11 10:15:40 PDT 2020
Author: Valentin Clement
Date: 2020-05-11T13:15:33-04:00
New Revision: 63a4fdda8c33174dc9fc80fed385df759abbf14f
URL: https://github.com/llvm/llvm-project/commit/63a4fdda8c33174dc9fc80fed385df759abbf14f
DIFF: https://github.com/llvm/llvm-project/commit/63a4fdda8c33174dc9fc80fed385df759abbf14f.diff
LOG: [flang] Fix compilation after rename of Loop dialect to scf
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
Added:
Modified:
flang/include/flang/Optimizer/Dialect/FIRDialect.h
Removed:
################################################################################
diff --git a/flang/include/flang/Optimizer/Dialect/FIRDialect.h b/flang/include/flang/Optimizer/Dialect/FIRDialect.h
index 92fd23b5044f..963dad8a09c4 100644
--- a/flang/include/flang/Optimizer/Dialect/FIRDialect.h
+++ b/flang/include/flang/Optimizer/Dialect/FIRDialect.h
@@ -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>();
More information about the flang-commits
mailing list