raviqqe / melior

The rustic MLIR bindings in Rust
https://raviqqe.github.io/melior/melior/
Apache License 2.0
332 stars 39 forks source link

memref dimensions should be i64 #400

Closed edg-l closed 10 months ago

edg-l commented 10 months ago

If you make a memref type with i64::MAX - 1 you will see the output shows memref<-1xTYPE>

also the pointer in mlir-sys is a *i64

By the way, do you know how to make a memref like memref<?xTYPE> ?

raviqqe commented 10 months ago

Thank you for the change!

By the way, do you know how to make a memref like memref<?xTYPE>?

Try i64::MIN after the change?