diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2025-01-30 16:40:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-30 16:40:12 +0000 |
commit | c39fba209ce655cf5997878b0bf794da269f008a (patch) | |
tree | e78d31407f34794b54fd74a8a894596ac63502ee /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 2428b6ec40bc60bfcdf1d481f92f34f7279fb5f3 (diff) | |
download | llvm-c39fba209ce655cf5997878b0bf794da269f008a.zip llvm-c39fba209ce655cf5997878b0bf794da269f008a.tar.gz llvm-c39fba209ce655cf5997878b0bf794da269f008a.tar.bz2 |
[AMDGPU] S_SET_GPR_IDX_ON can be passed an immediate index (#125086)
Oversight found by ISel fuzz effort. Assuming the argument is a
register, in some cases it can be an immediate. Tablegen's type for the
instruction is SSrc_b32, i.e. register or immediate fine. Added the
repro from the bug reporter as a test case - prior to this patch llvm
will assert in getReg.
Fixes SWDEV-508589
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions