Hi all - I'm currently trying to return the result of a comparison and I need to ensure that it's i64 (which is what the codegen'd function's return type is). I'm looking around to see how to convert an i8 to an i64 but haven't found anything.
Can someone point me in the direction I should be looking? Cheers
You can use the uextend or sextend instructions depending on if it is an unsigned or signed integer.
JT has marked this topic as resolved.
Last updated: Nov 22 2024 at 16:03 UTC