aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-02-20 12:09:21 +0000
committerGitHub <noreply@github.com>2024-02-20 12:09:21 +0000
commita4d46157718573157d01a842d225267a5b2a7ef1 (patch)
treec2b768d6baf4f70f2f1aeb788195c95c6e8b954e /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent26d4afc3de86ca5416c8e38000362c526b6808cd (diff)
downloadllvm-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