diff options
author | Craig Topper <craig.topper@intel.com> | 2019-07-11 01:01:39 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-07-11 01:01:39 +0000 |
commit | 88729e3dec363e67ab63ce5850b5bb1a6804b242 (patch) | |
tree | 479ba81a718a900637c02991d15aba5240560950 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | df9051e7cfda5519f4584cda22e9ef2006517e94 (diff) | |
download | bcm5719-llvm-88729e3dec363e67ab63ce5850b5bb1a6804b242.tar.gz bcm5719-llvm-88729e3dec363e67ab63ce5850b5bb1a6804b242.zip |
[X86] Don't convert 8 or 16 bit ADDs to LEAs on Atom in FixupLEAPass.
We use the functions that convert to three address to do the
conversion, but changing an 8 or 16 bit will cause it to create
a virtual register. This can't be done after register allocation
where this pass runs.
I've switched the pass completely to a white list of instructions
that can be converted to LEA instead of a blacklist that was
incorrect. This will avoid surprises if we enhance the three
address conversion function to include additional instructions
in the future.
Fixes PR42565.
llvm-svn: 365720
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions