diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-01-14 13:48:34 -0500 |
|---|---|---|
| committer | Matt Arsenault <arsenm2@gmail.com> | 2020-01-15 08:58:57 -0500 |
| commit | 3ab7b7f53552a0969bd89db3317eb5a3ddf31d8f (patch) | |
| tree | 77f77906850b6eaa1c4be1430e35b1a1dbf93a9e /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 46e3edcc2c89e34b3ec198387b758a6998f5980b (diff) | |
| download | llvm-3ab7b7f53552a0969bd89db3317eb5a3ddf31d8f.zip llvm-3ab7b7f53552a0969bd89db3317eb5a3ddf31d8f.tar.gz llvm-3ab7b7f53552a0969bd89db3317eb5a3ddf31d8f.tar.bz2 | |
TableGen/GlobalISel: Don't reconstruct CodeGenRegBank
The maps for dealing with the relationships between different register
classes and subregister indexes rely on unique pointers for every
class/index. By constructing a second copy of CodeGenRegBank, two
different pointer values existed for a given subregister depending on
where you were querying.
Use the existing CodeGenRegBank owned by the CodeGenTarget instead of
constructing a second copy. This avoids incorrectly failing map
lookups in a future change.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
