diff options
| author | Rahul Joshi <rjoshi@nvidia.com> | 2024-09-04 15:04:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-04 15:04:10 -0700 |
| commit | 98c6bbfe1f3a348633e5e4c192a0134891fe3849 (patch) | |
| tree | 8b7d3f894f1d4a1ed9fc2c4d39e3856c18140c29 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 660cc98647677815a3f5d97d00220071d8cf7a4f (diff) | |
[TableGen] Refactor Intrinsics record (#106986)
Eliminate unused `isTarget` field in Intrinsic record.
Eliminate `isOverloaded`, `Types` and `TypeSig` fields from the record,
as they are already available through the `TypeInfo` field. Change
intrinsic emitter code to look for this info using fields of the
`TypeInfo` record attached to the `Intrinsic` record.
Fix several intrinsic related unit tests to source the `Intrinsic` class
def from Intrinsics.td as opposed to defining a skeleton in the test.
This eliminates some duplication of information in the Intrinsic class,
as well as reduces the memory allocated for record fields, resulting in
~2% reduction (though that's not the main goal).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
