-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
interface name changed after scalehls? #34
Comments
For now, we don't have a mechanism to represent the "name" of C variables in the IR. One possible approach is retaining them as string attributes attached to function operations. |
" retaining them as string attributes" |
For example, see the following IR:
This feature requires at least two PRs:
|
so complex for ordinary developer :- ( |
@Oxygen-Chu MLIR itself is complex, but powerful 😄 Based on my understanding, the C/C++ emission is just for the integration with downstream tools, such as Vivado HLS. From the IR point of view, we have the "mlir::Value" structure to represent and manipulate variables in the program -- which can support any desired program transformation and analysis for us. |
The left is original code, and the port name C,A,B is translated to v0,v1,v2
what's the purpose?
The text was updated successfully, but these errors were encountered: