History log of /llvm-project/llvm/utils/TableGen/Common/Utils.cpp (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0
# 3ae71d15 15-Sep-2024 Rahul Joshi <rjoshi@nvidia.com>

[LLVM][TableGen] Change CodeGenSchedule to use const RecordKeeper (#108617)

Change CodeGenSchedule to use const RecordKeeper.

This is a part of effort to have better const correctness in TableGen

[LLVM][TableGen] Change CodeGenSchedule to use const RecordKeeper (#108617)

Change CodeGenSchedule to use const RecordKeeper.

This is a part of effort to have better const correctness in TableGen
backends:


https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089

show more ...


Revision tags: llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3
# 8ce5a32f 07-Aug-2024 Rahul Joshi <rjoshi@nvidia.com>

[TableGen] Rework error reporting for duplicate Feature/Processor (#102257)

- Extract code for sorting and checking duplicate Records into a helper
function and update `collectProcModels` to use

[TableGen] Rework error reporting for duplicate Feature/Processor (#102257)

- Extract code for sorting and checking duplicate Records into a helper
function and update `collectProcModels` to use the helper.
- Update `FeatureKeyValues` to:
(a) Remove code for duplicate checks and use the helper.
(b) Trim features with empty name explicitly to be able to use
the helper.
- Make the sorting deterministic by using record name as a secondary
key for sorting, and re-enable SubtargetFeatureUniqueNames.td test
that was disabled due to the non-determinism of the error messages.
- Change wording of error message when duplicate records are found to
be source code position agnostic, since `First` may not be before
`Second` lexically.

show more ...