diff options
author | Jay Foad <jay.foad@amd.com> | 2024-02-20 12:09:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 12:09:21 +0000 |
commit | a4d46157718573157d01a842d225267a5b2a7ef1 (patch) | |
tree | c2b768d6baf4f70f2f1aeb788195c95c6e8b954e /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 26d4afc3de86ca5416c8e38000362c526b6808cd (diff) | |
download | llvm-a4d46157718573157d01a842d225267a5b2a7ef1.zip llvm-a4d46157718573157d01a842d225267a5b2a7ef1.tar.gz llvm-a4d46157718573157d01a842d225267a5b2a7ef1.tar.bz2 |
[AMDGPU] Try decoding instructions longest first. NFCI. (#82014)
AMDGPUDisassembler::getInstruction tries decoding instructions using
different DecoderTables in a confusing order: first 96-bit instructions,
then some 64-bit, then 32-bit, then some more 64-bit.
This patch changes it to always try longer encodings first. The
motivation is to make getInstruction easier to understand, and to pave
the way for combining some 64-bit tables that do not need to be
separate.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions