Skip to content

Conversation

pradhanaditya
Copy link

In some cases, the index operand may not be a 64-bit integer. To ensure type compatibility in arith.cmpi, the index operand should be sign-extended to 64 bits when required.

A minimal test case has been added to verify this behavior.

@pradhanaditya pradhanaditya force-pushed the aditya/fix-aten-index-tensor-hacked-twin branch 3 times, most recently from 11486d8 to 5c37c6e Compare July 23, 2025 05:46
In some cases, the index operand may not be a 64-bit integer.
To ensure type compatibility in `arith.cmpi`, the index operand
should be sign-extended to 64 bits when required.
@pradhanaditya pradhanaditya force-pushed the aditya/fix-aten-index-tensor-hacked-twin branch from 5c37c6e to 3ac4191 Compare July 24, 2025 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants