diff options
| author | Jay Foad <jay.foad@amd.com> | 2021-09-27 11:44:18 +0100 |
|---|---|---|
| committer | Jay Foad <jay.foad@amd.com> | 2021-09-30 09:15:10 +0100 |
| commit | 156d7d2df748fa12f1a2b3de502c12035ff8b3d6 (patch) | |
| tree | 5f090260aa08081907cee0dd4838e1bf93621d91 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
| parent | 34d6c1822eebe2c69c850e14d48e986a5b68cbd6 (diff) | |
| download | llvm-156d7d2df748fa12f1a2b3de502c12035ff8b3d6.zip llvm-156d7d2df748fa12f1a2b3de502c12035ff8b3d6.tar.gz llvm-156d7d2df748fa12f1a2b3de502c12035ff8b3d6.tar.bz2 | |
[LiveIntervals] Remove unused subreg ranges in repairIntervalsInRange
If the old instructions mentioned a subreg that the new instructions do
not, remove the subrange for that subreg.
For example, in TwoAddressInstructionPass::eliminateRegSequence, if a
use operand in the REG_SEQUENCE has the undef flag then we don't
generate a copy for it so after the elimination there should be no live
interval at all for the corresponding subreg of the def.
This is a small step towards switching TwoAddressInstructionPass over
from LiveVariables to LiveIntervals. Currently this path is only tested
if you explicitly enable -early-live-intervals.
Differential Revision: https://reviews.llvm.org/D110542
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions
