[mlir] Remove braces to avoid ambiguous constructor of operand range

This commit is contained in:
River Riddle 2020-04-21 11:20:13 -07:00
parent 8387bee94d
commit cf60700853
1 changed files with 1 additions and 1 deletions

View File

@ -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<[{