Details
Details
- Reviewers
foad - Commits
- rG0572db093d50: [TableGen] Speed up computeUberSets. NFC.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
For AMDGPUGenRegisterInfo.in this speeds up computeUberSets from 11 ms to 0.4 ms. It is still dwarfed by other parts of CodeGenRegisters which take several seconds.
llvm/utils/TableGen/CodeGenRegisters.cpp | ||
---|---|---|
1707 | This is very expensive and completely pointless, since the registers added to each uber set are unique and sorted by construction. |
Comment Actions
Self-approving, having checked that there are no differences in any of the generated .inc files for any in-tree targets, including experimental ones.
This is very expensive and completely pointless, since the registers added to each uber set are unique and sorted by construction.