aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2025-08-19 12:02:22 +0300
committerGitHub <noreply@github.com>2025-08-19 09:02:22 +0000
commit56ce40bc7378d8d8d94ec788a9d589b1ad990dc7 (patch)
tree5a9228544388aa9a4d07335c32eb5e324ebbb103 /clang/lib/AST/ByteCode/Compiler.cpp
parenteb764040bccc763afb2f6429baab63d1c73a5c85 (diff)
downloadllvm-56ce40bc7378d8d8d94ec788a9d589b1ad990dc7.zip
llvm-56ce40bc7378d8d8d94ec788a9d589b1ad990dc7.tar.gz
llvm-56ce40bc7378d8d8d94ec788a9d589b1ad990dc7.tar.bz2
[TableGen][DecoderEmitter] Stop duplicating encodings (NFC) (#154288)
When HwModes are involved, we can duplicate an instruction encoding that does not belong to any HwMode multiple times. We can do better by mapping HwMode to a list of encoding IDs it contains. (That is, duplicate IDs instead of encodings.) The encodings that were duplicated are still processed multiple times (e.g., we call an expensive populateInstruction() on each instance). This is going to be fixed in subsequent patches.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions