[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.
Loading
Please sign in to comment