mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Fix some spello's pointed out by Gabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24019 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2cbc207c76
commit
c60e6020c0
@ -637,7 +637,7 @@ void LiveIntervals::computeIntervals()
|
|||||||
/// number. If all of the places that IntA and IntB overlap are defined by
|
/// number. If all of the places that IntA and IntB overlap are defined by
|
||||||
/// copies from IntA to IntB, we know that these two ranges can really be
|
/// copies from IntA to IntB, we know that these two ranges can really be
|
||||||
/// merged if we adjust the value numbers. If it is safe, adjust the value
|
/// merged if we adjust the value numbers. If it is safe, adjust the value
|
||||||
/// numbers and return true, allowing coallescing to occur.
|
/// numbers and return true, allowing coalescing to occur.
|
||||||
bool LiveIntervals::
|
bool LiveIntervals::
|
||||||
AdjustIfAllOverlappingRangesAreCopiesFrom(LiveInterval &IntA,
|
AdjustIfAllOverlappingRangesAreCopiesFrom(LiveInterval &IntA,
|
||||||
LiveInterval &IntB,
|
LiveInterval &IntB,
|
||||||
@ -729,7 +729,7 @@ void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) {
|
|||||||
// If DestInt is actually a copy from SrcInt (which we know) that is used
|
// If DestInt is actually a copy from SrcInt (which we know) that is used
|
||||||
// to define another value of SrcInt, we can change the other range of
|
// to define another value of SrcInt, we can change the other range of
|
||||||
// SrcInt to be the value of the range that defines DestInt, allowing a
|
// SrcInt to be the value of the range that defines DestInt, allowing a
|
||||||
// coallesce.
|
// coalesce.
|
||||||
if (!Joinable && DestInt.containsOneValue() &&
|
if (!Joinable && DestInt.containsOneValue() &&
|
||||||
AdjustIfAllOverlappingRangesAreCopiesFrom(SrcInt, DestInt, MIDefIdx))
|
AdjustIfAllOverlappingRangesAreCopiesFrom(SrcInt, DestInt, MIDefIdx))
|
||||||
Joinable = true;
|
Joinable = true;
|
||||||
|
@ -46,7 +46,7 @@ namespace {
|
|||||||
Statistic<> NumTwoAddressInstrs("twoaddressinstruction",
|
Statistic<> NumTwoAddressInstrs("twoaddressinstruction",
|
||||||
"Number of two-address instructions");
|
"Number of two-address instructions");
|
||||||
Statistic<> NumCommuted("twoaddressinstruction",
|
Statistic<> NumCommuted("twoaddressinstruction",
|
||||||
"Number of instructions commuted to coallesce");
|
"Number of instructions commuted to coalesce");
|
||||||
Statistic<> NumConvertedTo3Addr("twoaddressinstruction",
|
Statistic<> NumConvertedTo3Addr("twoaddressinstruction",
|
||||||
"Number of instructions promoted to 3-address");
|
"Number of instructions promoted to 3-address");
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
|
|
||||||
// If this instruction is not the killing user of B, see if we can
|
// If this instruction is not the killing user of B, see if we can
|
||||||
// rearrange the code to make it so. Making it the killing user will
|
// rearrange the code to make it so. Making it the killing user will
|
||||||
// allow us to coallesce A and B together, eliminating the copy we are
|
// allow us to coalesce A and B together, eliminating the copy we are
|
||||||
// about to insert.
|
// about to insert.
|
||||||
if (!LV.KillsRegister(mi, regB)) {
|
if (!LV.KillsRegister(mi, regB)) {
|
||||||
const TargetInstrDescriptor &TID = TII.get(opcode);
|
const TargetInstrDescriptor &TID = TII.get(opcode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user