forked from OSchip/llvm-project
[mlir] Remove braces to avoid ambiguous constructor of operand range
This commit is contained in:
parent
8387bee94d
commit
cf60700853
|
@ -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<[{
|
||||
|
|
Loading…
Reference in New Issue