mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 13:35:38 +08:00
[mlir-query] Attempt to fix gcc7 build
I haven't tested via gcc7, but this should address the error reported.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user