UIUC-ChenLab / scalehls

A scalable High-Level Synthesis framework on MLIR
Other
220 stars 45 forks source link

loop cannot use label? #35

Open eeriecl opened 2 years ago

eeriecl commented 2 years ago

image

if use loop label, the scalehls crashed.

hanchenye commented 2 years ago

Thanks for catching this! Similar to the variable naming issue, we may also need to represent the "label" as an attribute attached to affine/scf for operations, such that users can control the optimizations to some extent and provide hints to the compiler.

eeriecl commented 2 years ago

so will this be fixed for next update?

hanchenye commented 2 years ago

@eeriecl We are slowly working on this, will keep you posted!