[flang-commits] [flang] [flang][fir] Add affine optimization pass pipeline. (PR #138627)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Wed May 7 02:27:32 PDT 2025


================
@@ -18,8 +18,8 @@
 #include "flang/Optimizer/Passes/CommandLineOpts.h"
 #include "flang/Optimizer/Transforms/Passes.h"
 #include "flang/Tools/CrossToolHelpers.h"
-#include "mlir/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.h"
-#include "mlir/Conversion/SCFToControlFlow/SCFToControlFlow.h"
+#include "mlir/Conversion/Passes.h"
----------------
kiranchandramohan wrote:

This include probably brings in a lot of conversion headers that are not relevant to Flang. Can we include only the relevant conversion headers?

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


More information about the flang-commits mailing list