[flang-commits] [clang] [flang] [Flang][FIR] Introduce ConvertFIRToMLIR pass. (PR #168703)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Thu Nov 20 08:59:47 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));
----------------
clementval wrote:
addPassConditionally allows to disable the pass from a flag. Your change here remove this option.
https://github.com/llvm/llvm-project/pull/168703
More information about the flang-commits
mailing list