@@ -2057,8 +2057,8 @@ def fir_SliceOp : fir_Op<"slice", [NoMemoryEffect, AttrSizedOperandSegments]> {
2057
2057
2058
2058
let builders = [
2059
2059
OpBuilder<(ins "mlir::ValueRange":$triples,
2060
- CArg<"mlir::ValueRange", "std::nullopt ">:$fields,
2061
- CArg<"mlir::ValueRange", "std::nullopt ">:$substr)>
2060
+ CArg<"mlir::ValueRange", "{} ">:$fields,
2061
+ CArg<"mlir::ValueRange", "{} ">:$substr)>
2062
2062
];
2063
2063
2064
2064
let hasVerifier = 1;
@@ -2253,8 +2253,8 @@ def fir_DoLoopOp : region_Op<"do_loop", [AttrSizedOperandSegments,
2253
2253
OpBuilder<(ins "mlir::Value":$lowerBound, "mlir::Value":$upperBound,
2254
2254
"mlir::Value":$step, CArg<"bool", "false">:$unordered,
2255
2255
CArg<"bool", "false">:$finalCountValue,
2256
- CArg<"mlir::ValueRange", "std::nullopt ">:$iterArgs,
2257
- CArg<"mlir::ValueRange", "std::nullopt ">:$reduceOperands,
2256
+ CArg<"mlir::ValueRange", "{} ">:$iterArgs,
2257
+ CArg<"mlir::ValueRange", "{} ">:$reduceOperands,
2258
2258
CArg<"llvm::ArrayRef<mlir::Attribute>", "{}">:$reduceAttrs,
2259
2259
CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>
2260
2260
];
@@ -2441,7 +2441,7 @@ def fir_IterWhileOp : region_Op<"iterate_while",
2441
2441
OpBuilder<(ins "mlir::Value":$lowerBound, "mlir::Value":$upperBound,
2442
2442
"mlir::Value":$step, "mlir::Value":$iterate,
2443
2443
CArg<"bool", "false">:$finalCountValue,
2444
- CArg<"mlir::ValueRange", "std::nullopt ">:$iterArgs,
2444
+ CArg<"mlir::ValueRange", "{} ">:$iterArgs,
2445
2445
CArg<"llvm::ArrayRef<mlir::NamedAttribute>", "{}">:$attributes)>
2446
2446
];
2447
2447
0 commit comments