mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Fix a nomenclature mistake. Slt->Slti in the functions. The "i" refers
to the immediate operand of sli or cmp function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7617d032ae
commit
00ddc5a727
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user