Closed chhzh123 closed 2 years ago
hcl.pack/unpack is just a syntax sugar of bit slicing. We do not need to add new operations in the MLIR part, but need to enhance the binding to let it support general expressions as indices.
hcl.pack/unpack
Fixed by dd19bc26032c067300580184eb89e9c6a7577ae2 and 76eace26bae5a5467ad348edf68a7fee19788c2d.
hcl.pack/unpack
is just a syntax sugar of bit slicing. We do not need to add new operations in the MLIR part, but need to enhance the binding to let it support general expressions as indices.