1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix a nomenclature mistake. Slt->Slti in the functions. The "i" refers

to the immediate operand of sli or cmp function.

llvm-svn: 175865
This commit is contained in:
Reed Kotler 2013-02-22 05:59:39 +00:00
parent 340c9d39ce
commit 4c5ff1c30b
2 changed files with 8 additions and 8 deletions

View File

@ -1298,7 +1298,7 @@ MachineBasicBlock *MipsTargetLowering::EmitSel16(unsigned Opc, MachineInstr *MI,
return BB;
}
MachineBasicBlock *MipsTargetLowering::EmitSelT16
MachineBasicBlock *MipsTargetLowering::EmitSeliT16
(unsigned Opc1, unsigned Opc2,
MachineInstr *MI, MachineBasicBlock *BB) const {
if (DontExpandCondPseudos16)
@ -1479,17 +1479,17 @@ MipsTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
case Mips::SelBneZ:
return EmitSel16(Mips::BnezRxImm16, MI, BB);
case Mips::SelTBteqZCmpi:
return EmitSelT16(Mips::BteqzX16, Mips::CmpiRxImmX16, MI, BB);
return EmitSeliT16(Mips::BteqzX16, Mips::CmpiRxImmX16, MI, BB);
case Mips::SelTBteqZSlti:
return EmitSelT16(Mips::BteqzX16, Mips::SltiRxImmX16, MI, BB);
return EmitSeliT16(Mips::BteqzX16, Mips::SltiRxImmX16, MI, BB);
case Mips::SelTBteqZSltiu:
return EmitSelT16(Mips::BteqzX16, Mips::SltiuRxImmX16, MI, BB);
return EmitSeliT16(Mips::BteqzX16, Mips::SltiuRxImmX16, MI, BB);
case Mips::SelTBtneZCmpi:
return EmitSelT16(Mips::BtnezX16, Mips::CmpiRxImmX16, MI, BB);
return EmitSeliT16(Mips::BtnezX16, Mips::CmpiRxImmX16, MI, BB);
case Mips::SelTBtneZSlti:
return EmitSelT16(Mips::BtnezX16, Mips::SltiRxImmX16, MI, BB);
return EmitSeliT16(Mips::BtnezX16, Mips::SltiRxImmX16, MI, BB);
case Mips::SelTBtneZSltiu:
return EmitSelT16(Mips::BtnezX16, Mips::SltiuRxImmX16, MI, BB);
return EmitSeliT16(Mips::BtnezX16, Mips::SltiuRxImmX16, MI, BB);
}
}

View File

@ -406,7 +406,7 @@ namespace llvm {
MachineBasicBlock *BB, unsigned Size) const;
MachineBasicBlock *EmitSel16(unsigned Opc, MachineInstr *MI,
MachineBasicBlock *BB) const;
MachineBasicBlock *EmitSelT16(unsigned Opc1, unsigned Opc2,
MachineBasicBlock *EmitSeliT16(unsigned Opc1, unsigned Opc2,
MachineInstr *MI,
MachineBasicBlock *BB) const;