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

[Transform][AnyWidthInteger] Fix issues with float type arg #189

Closed zzzDavid closed 1 year ago

zzzDavid commented 1 year ago

The previous implementation assumed all args and return types are mermef types. This PR fixes the AnyWidthInteger pass to skip cases with non-memref type args and return operands.

The AnyWidthInteger pass was added to convert all integer type memref to i64 memref. After https://github.com/cornell-zhang/heterocl/pull/493 is added, I will remove this pass.