Skip to content

Commit

Permalink
[mlir-query] Attempt to fix gcc7 build
Browse files Browse the repository at this point in the history
I haven't tested via gcc7, but this should address the error reported.
  • Loading branch information
jpienaar committed Mar 3, 2024
1 parent 58b44c8 commit 3ca73e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Query/Query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static Operation *extractFunction(std::vector<Operation *> &ops,

// Create the function
FunctionType funcType =
builder.getFunctionType(ValueRange(values), outputTypes);
builder.getFunctionType(TypeRange(values), outputTypes);
auto loc = builder.getUnknownLoc();
func::FuncOp funcOp = func::FuncOp::create(loc, functionName, funcType);

Expand Down

0 comments on commit 3ca73e0

Please sign in to comment.