From cf6070085340bd760d5fcd125fdc4531a0fbd27a Mon Sep 17 00:00:00 2001 From: River Riddle Date: Tue, 21 Apr 2020 11:20:13 -0700 Subject: [PATCH] [mlir] Remove braces to avoid ambiguous constructor of operand range --- mlir/include/mlir/Interfaces/ControlFlowInterfaces.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/include/mlir/Interfaces/ControlFlowInterfaces.td b/mlir/include/mlir/Interfaces/ControlFlowInterfaces.td index 4067e2a4fcb2..5c02482394b7 100644 --- a/mlir/include/mlir/Interfaces/ControlFlowInterfaces.td +++ b/mlir/include/mlir/Interfaces/ControlFlowInterfaces.td @@ -110,7 +110,7 @@ def RegionBranchOpInterface : OpInterface<"RegionBranchOpInterface"> { "OperandRange", "getSuccessorEntryOperands", (ins "unsigned":$index), [{}], /*defaultImplementation=*/[{ auto operandEnd = this->getOperation()->operand_end(); - return OperandRange({operandEnd, operandEnd}); + return OperandRange(operandEnd, operandEnd); }] >, InterfaceMethod<[{