[flang-commits] [flang] [flang] de-duplicate AbstractResult pass (PR #88867)
Markus Böck via flang-commits
flang-commits at lists.llvm.org
Wed Apr 17 01:59:20 PDT 2024
================
@@ -50,8 +49,7 @@ namespace fir {
#define GEN_PASS_DECL_OPENACCDATAOPERANDCONVERSION
#include "flang/Optimizer/Transforms/Passes.h.inc"
-std::unique_ptr<mlir::Pass> createAbstractResultOnFuncOptPass();
-std::unique_ptr<mlir::Pass> createAbstractResultOnGlobalOptPass();
+std::unique_ptr<mlir::Pass> createAbstractResultOptPass();
----------------
zero9178 wrote:
This declaration can be auto-generated by TableGen by just removing the
`let constructor = ...` line in the Pass entry. This will also automatically create an overload that can be constructed with the option object.
https://github.com/llvm/llvm-project/pull/88867
More information about the flang-commits
mailing list