[flang-commits] [flang] [Flang] Add a HLFIR Minloc intrinsic (PR #74436)
David Green via flang-commits
flang-commits at lists.llvm.org
Fri Dec 8 02:49:24 PST 2023
================
@@ -206,6 +219,8 @@ llvm::SmallVector<mlir::Value> HlfirTransformationalIntrinsic::getOperandVector(
else if (!argRules.handleDynamicOptional &&
argRules.lowerAs != fir::LowerIntrinsicArgAs::Inquired)
valArg = hlfir::derefPointersAndAllocatables(loc, builder, actual);
+ else if (argRules.lowerAs == fir::LowerIntrinsicArgAs::Value)
----------------
davemgreen wrote:
Ah, that's useful. Thanks. I've added a new method for conditionally loading the value. Let me know if it seems OK.
https://github.com/llvm/llvm-project/pull/74436
More information about the flang-commits
mailing list