[flang-commits] [flang] [Flang] Add Maxloc to fir simplify intrinsics pass (PR #75463)
Emma Ballantyne via flang-commits
flang-commits at lists.llvm.org
Thu Dec 14 06:42:55 PST 2023
================
@@ -357,12 +357,11 @@ using MinlocBodyOpGeneratorTy = llvm::function_ref<mlir::Value(
fir::FirOpBuilder &, mlir::Location, const mlir::Type &, mlir::Value,
mlir::Value, llvm::SmallVector<mlir::Value, Fortran::common::maxRank> &)>;
-static void
-genMinlocReductionLoop(fir::FirOpBuilder &builder, mlir::func::FuncOp &funcOp,
- InitValGeneratorTy initVal,
- MinlocBodyOpGeneratorTy genBody, unsigned rank,
- mlir::Type elementType, mlir::Location loc, bool hasMask,
- mlir::Type maskElemType, mlir::Value resultArr) {
+static void genMinMaxlocReductionLoop(
+ fir::FirOpBuilder &builder, mlir::func::FuncOp &funcOp,
+ InitValGeneratorTy initVal, MinlocBodyOpGeneratorTy genBody, unsigned rank,
----------------
Emma-Ballantyne wrote:
This should be renamed to be inline with the rest of the name changes
https://github.com/llvm/llvm-project/pull/75463
More information about the flang-commits
mailing list