cornell-zhang/hcl-dialect

[Op][Binding] Support get/set bit/slice for general expressions

Closed this issue · 1 comments

Once an expression can be calculated as an integer, the bits of it can be accessed. Previously, we suppose these bit retrieving operations only happen in LoadOp. Now we need to relax the constraints.

The indices may be arbitrary expressions. Need to find a way to directly generate AffineExpr.