-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
Hello! I'm currently working on building ScaleHLS, and I've run into an issue related to MLIR argument. Here is the error message I'm encountering:
scalehls/lib/Dialect/HLS/Utils.cpp:154:23: error: cannot convert ‘mlir::ValueRange’ to ‘mlir::TypeRange’
154 | block->addArguments(ValueRange(inputs.getArrayRef()), inputLocs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| mlir::ValueRange
scalehls/lib/Dialect/HLS/Utils.cpp:156:23: error: cannot convert ‘mlir::ValueRange’ to ‘mlir::TypeRange’
156 | block->addArguments(ValueRange(params.getArrayRef()), paramLocs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| mlir::ValueRange
Could you please help me understand and resolve this error? Thx!
Metadata
Metadata
Assignees
Labels
No labels