Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMDGPU] Shrink to SOPK with 32-bit signed literals #70263

Merged
merged 1 commit into from
Oct 26, 2023

Commits on Oct 25, 2023

  1. [AMDGPU] Shrink to SOPK with 32-bit signed literals

    A literal like 0xffff8000 is valid to be used as KIMM in a SOPK
    instruction, but at the moment our checks expect it to be fully
    sign extended to a 64-bit signed integer. This is not required
    since all cases which are being shrunk only accept 32-bit operands.
    
    We need to sign extend the operand to 64-bit though so it passes
    the verifier and properly printed.
    rampitec committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    7c37e3d View commit details
    Browse the repository at this point in the history