Fix a couple of odd formatting issues.

llvm-svn: 225457
This commit is contained in:
Eric Christopher 2015-01-08 18:18:53 +00:00
parent 09455d94bf
commit 1933f20aa4
1 changed files with 4 additions and 6 deletions

View File

@ -38,9 +38,8 @@ const MipsRegisterInfo &MipsSEInstrInfo::getRegisterInfo() const {
/// the destination along with the FrameIndex of the loaded stack slot. If /// the destination along with the FrameIndex of the loaded stack slot. If
/// not, return 0. This predicate must return 0 if the instruction has /// not, return 0. This predicate must return 0 if the instruction has
/// any side effects other than loading from the stack slot. /// any side effects other than loading from the stack slot.
unsigned MipsSEInstrInfo:: unsigned MipsSEInstrInfo::isLoadFromStackSlot(const MachineInstr *MI,
isLoadFromStackSlot(const MachineInstr *MI, int &FrameIndex) const int &FrameIndex) const {
{
unsigned Opc = MI->getOpcode(); unsigned Opc = MI->getOpcode();
if ((Opc == Mips::LW) || (Opc == Mips::LD) || if ((Opc == Mips::LW) || (Opc == Mips::LD) ||
@ -61,9 +60,8 @@ isLoadFromStackSlot(const MachineInstr *MI, int &FrameIndex) const
/// the source reg along with the FrameIndex of the loaded stack slot. If /// the source reg along with the FrameIndex of the loaded stack slot. If
/// not, return 0. This predicate must return 0 if the instruction has /// not, return 0. This predicate must return 0 if the instruction has
/// any side effects other than storing to the stack slot. /// any side effects other than storing to the stack slot.
unsigned MipsSEInstrInfo:: unsigned MipsSEInstrInfo::isStoreToStackSlot(const MachineInstr *MI,
isStoreToStackSlot(const MachineInstr *MI, int &FrameIndex) const int &FrameIndex) const {
{
unsigned Opc = MI->getOpcode(); unsigned Opc = MI->getOpcode();
if ((Opc == Mips::SW) || (Opc == Mips::SD) || if ((Opc == Mips::SW) || (Opc == Mips::SD) ||