cornell-zhang / hcl-dialect

HeteroCL-MLIR dialect for accelerator design
https://cornell-zhang.github.io/heterocl/index.html
Other
37 stars 15 forks source link

[HLS] Fix unsigned type for memref::GlobalOp and reuse_at #179

Closed chhzh123 closed 1 year ago

chhzh123 commented 1 year ago

As mentioned in the title, the current implementation does not consider data type signedness when constructing the global op or load/store op in reuse_at, which leads to incorrect results. This PR fixes this issue by keeping track of the unsigned attribute.

chhzh123 commented 1 year ago

Thanks