[flang-commits] [flang] [flang][FIR] add fir.assumed_size_extent to abstract assumed-size extent encoding (PR #164452)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Tue Oct 21 10:33:40 PDT 2025
================
@@ -1711,7 +1711,7 @@ static void lowerExplicitLowerBounds(
/// CFI_desc_t requirements in 18.5.3 point 5.).
static mlir::Value getAssumedSizeExtent(mlir::Location loc,
fir::FirOpBuilder &builder) {
- return builder.createMinusOneInteger(loc, builder.getIndexType());
+ return builder.create<fir::AssumedSizeExtentOp>(loc);
----------------
clementval wrote:
Can you use the new create api?
https://github.com/llvm/llvm-project/pull/164452
More information about the flang-commits
mailing list