|
22 | 22 | /// and the VarLocBasedLDV class is an implementation that explicitly tracks
|
23 | 23 | /// locations, using the VarLoc class.
|
24 | 24 | ///
|
25 |
| -/// The cannonical "available expressions" problem doesn't have expression |
| 25 | +/// The canonical "available expressions" problem doesn't have expression |
26 | 26 | /// clobbering, instead when a variable is re-assigned, any expressions using
|
27 | 27 | /// that variable get invalidated. LiveDebugValues can map onto "available
|
28 | 28 | /// expressions" by having every register represented by a variable, which is
|
@@ -826,7 +826,7 @@ VarLocBasedLDV::VarLocBasedLDV() { }
|
826 | 826 | VarLocBasedLDV::~VarLocBasedLDV() { }
|
827 | 827 |
|
828 | 828 | /// Erase a variable from the set of open ranges, and additionally erase any
|
829 |
| -/// fragments that may overlap it. If the VarLoc is a buckup location, erase |
| 829 | +/// fragments that may overlap it. If the VarLoc is a backup location, erase |
830 | 830 | /// the variable from the EntryValuesBackupVars set, indicating we should stop
|
831 | 831 | /// tracking its backup entry location. Otherwise, if the VarLoc is primary
|
832 | 832 | /// location, erase the variable from the Vars set.
|
@@ -1837,8 +1837,8 @@ bool VarLocBasedLDV::ExtendRanges(MachineFunction &MF, TargetPassConfig *TPC) {
|
1837 | 1837 | MachineBasicBlock &First_MBB = *(MF.begin());
|
1838 | 1838 | for (auto &MI : First_MBB) {
|
1839 | 1839 | collectRegDefs(MI, DefinedRegs, TRI);
|
1840 |
| - if (MI.isDebugValue()) |
1841 |
| - recordEntryValue(MI, DefinedRegs, OpenRanges, VarLocIDs); |
| 1840 | + if (MI.isDebugValue()) |
| 1841 | + recordEntryValue(MI, DefinedRegs, OpenRanges, VarLocIDs); |
1842 | 1842 | }
|
1843 | 1843 |
|
1844 | 1844 | // Initialize per-block structures and scan for fragment overlaps.
|
|
0 commit comments