Skip to content
Unverified Commit aa23e493 authored by mmoadeli's avatar mmoadeli Committed by GitHub
Browse files

[NVPTX] Fix generating permute bytes from register pair when the initial...

[NVPTX] Fix generating permute bytes from register pair when the initial values are undefined (#74437)

When generating the permute bytes for the prmt instruction, the
existence of an undefined initial value initialises the int32 that holds
the mask with all 1's (0xFFFFFFFF). That initialization subsequently
leads to complications during the subsequent OR operation, leading to
inaccuracies in populating mask values for the following bytes.
Consequently, the final value persists as a constant -1, irrespective of
the actual mask values that succeed the initial set value.
parent 7e909d58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment