Skip to content

Commit db76af2

Browse files
committed
[mlir-query] Fix ambiguous overload
gcc7 fix didn't work (but unfortunately didn't get a notification and forgot to check), this should hopefully address the ambiguous overload. I can't repro locally/trying to create docker image for testing.
1 parent 7af4e8b commit db76af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Query/Query.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static Operation *extractFunction(std::vector<Operation *> &ops,
6565

6666
// Create the function
6767
FunctionType funcType =
68-
builder.getFunctionType(TypeRange(values), outputTypes);
68+
builder.getFunctionType(TypeRange(ValueRange(values)), outputTypes);
6969
auto loc = builder.getUnknownLoc();
7070
func::FuncOp funcOp = func::FuncOp::create(loc, functionName, funcType);
7171

0 commit comments

Comments
 (0)