[PATCH] D79723: [flang] Fix compilation after rename of Loop dialect to scf

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 11 10:46:00 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG63a4fdda8c33: [flang] Fix compilation after rename of Loop dialect to scf (authored by clementval).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79723/new/

https://reviews.llvm.org/D79723

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


Index: flang/include/flang/Optimizer/Dialect/FIRDialect.h
===================================================================
--- flang/include/flang/Optimizer/Dialect/FIRDialect.h
+++ flang/include/flang/Optimizer/Dialect/FIRDialect.h
@@ -38,7 +38,7 @@
   [[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>();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79723.263216.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200511/29ca6696/attachment.bin>


More information about the llvm-commits mailing list