diff options
author | mmoadeli <mmoadeli@hotmail.co.uk> | 2024-01-16 19:05:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 11:05:41 -0800 |
commit | aa23e493f2b363982a472fe38caffc69d907402c (patch) | |
tree | 228e696e5d05414e98ae2ef31826875213473e21 /llvm/lib/Object/Binary.cpp | |
parent | 7e909d58d1862686375a0a71fd907151b109c2db (diff) | |
download | llvm-aa23e493f2b363982a472fe38caffc69d907402c.zip llvm-aa23e493f2b363982a472fe38caffc69d907402c.tar.gz llvm-aa23e493f2b363982a472fe38caffc69d907402c.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions