diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2025-08-19 12:02:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-19 09:02:22 +0000 |
commit | 56ce40bc7378d8d8d94ec788a9d589b1ad990dc7 (patch) | |
tree | 5a9228544388aa9a4d07335c32eb5e324ebbb103 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | eb764040bccc763afb2f6429baab63d1c73a5c85 (diff) | |
download | llvm-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