llvm-project
56ce40bc - [TableGen][DecoderEmitter] Stop duplicating encodings (NFC) (#154288)

Commit
245 days ago
[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.
Author
Parents
Loading