Closed zzzDavid closed 1 year ago
Wait to merge PR: https://github.com/cornell-zhang/heterocl/pull/499 so CI test can run
Yes, that makes sense. Let me add that checking
Added type checking for indices, and update tests: added two FP-as-index cases that are expected to fail.
This PR fixes an issue with FP to Index type cast op.
Building
arith.fptoui
for fp -> index cast fails at MLIR verification with message:The solution is to cast FP to UI first, then use
arith.index_cast
to cast UI to Index.