[Mlir-commits] [mlir] cf60700 - [mlir] Remove braces to avoid ambiguous constructor of operand range
River Riddle
llvmlistbot at llvm.org
Tue Apr 21 11:21:52 PDT 2020
Author: River Riddle
Date: 2020-04-21T11:20:36-07:00
New Revision: cf6070085340bd760d5fcd125fdc4531a0fbd27a
URL: https://github.com/llvm/llvm-project/commit/cf6070085340bd760d5fcd125fdc4531a0fbd27a
DIFF: https://github.com/llvm/llvm-project/commit/cf6070085340bd760d5fcd125fdc4531a0fbd27a.diff
LOG: [mlir] Remove braces to avoid ambiguous constructor of operand range
Added:
Modified:
mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
Removed:
################################################################################
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<[{
More information about the Mlir-commits
mailing list