aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-07-28 21:36:19 -0700
committerGitHub <noreply@github.com>2025-07-28 21:36:19 -0700
commitb103311c1d75bb00845e0160fce76d75fe2377d3 (patch)
tree96167041b17b807622f68e0aedabb94c897f3b0d /lldb/packages/Python/lldbsuite
parentdbcbdc4da0a9f4627562c305492b4464afe5b467 (diff)
downloadllvm-b103311c1d75bb00845e0160fce76d75fe2377d3.zip
llvm-b103311c1d75bb00845e0160fce76d75fe2377d3.tar.gz
llvm-b103311c1d75bb00845e0160fce76d75fe2377d3.tar.bz2
[TableGen] Check destination instruction predicates in CompressInstEmitter. (#151061)
In addition to checking the predicate from the CompressPat, also check the destination instruction. This prevents creating bad instructions if CompressPat isn't a proper subset of the destination instruction. This prevents mistakes that we can't catch at compile time. We are able to verify RegisterClass hierarchy at compile time so don't have to check the destination register class. I've added comments for the operand names to make auditing easier.
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions