clarification question

The llvm doc says that for a compare instruction the operands must have identical types.
I am wondering whether that means we can’t compare an int64 to an int32 or does does it
mean both operands should be integer types? Thanks.


Identical means identical; if you need to compare integers of
different widths, insert a zext or sext as appropriate.