[flang-commits] [clang] [flang] [Flang][FIR] Introduce ConvertFIRToMLIR pass. (PR #168703)
Ming Yan via flang-commits
flang-commits at lists.llvm.org
Sun Nov 23 19:20:52 PST 2025
================
@@ -117,13 +132,11 @@ void addFIRToLLVMPass(mlir::PassManager &pm,
options.typeDescriptorsRenamedForAssembly =
!disableCompilerGeneratedNamesConversion;
options.ComplexRange = config.ComplexRange;
- addPassConditionally(pm, disableFirToLlvmIr,
- [&]() { return fir::createFIRToLLVMPass(options); });
+ pm.addPass(fir::createFIRToLLVMPass(options));
----------------
NexMing wrote:
I moved it up, to line 112.
```
if (disableFirToLlvmIr)
return;
```
https://github.com/llvm/llvm-project/pull/168703
More information about the flang-commits
mailing list