[flang-commits] [flang] [flang][acc] Implement type categorization for FIR types (PR #126964)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Wed Feb 12 14:09:13 PST 2025


================
@@ -261,12 +261,13 @@ bool CodeGenAction::beginSourceFileAction() {
   }
 
   // Load the MLIR dialects required by Flang
-  mlir::DialectRegistry registry;
-  mlirCtx = std::make_unique<mlir::MLIRContext>(registry);
-  fir::support::registerNonCodegenDialects(registry);
----------------
razvanlupusoru wrote:

I did remove the line below. Might as well have it cleaned up since I am touching this. I hope you agree with how it looks now. If not I can add them back despite them being extraneous.

https://github.com/llvm/llvm-project/pull/126964


More information about the flang-commits mailing list