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

[Binding] Fix AffineForOp python binding #202

Closed chhzh123 closed 10 months ago

chhzh123 commented 10 months ago

This PR resolves allo/#93. If both loop bounds are affine expressions, the AffineForOp class will only encode one as the variable, due to the incorrect if condition.