From 69d50404859767438f4f62dc07c33e100fc10d53 Mon Sep 17 00:00:00 2001 From: Wesley Peck Date: Sat, 26 Nov 2011 21:50:38 +0000 Subject: [PATCH] Rename a couple of options and fix some simple typos. llvm-svn: 145152 --- llvm/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h | 2 +- llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp | 4 ++-- llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp | 4 ++-- llvm/lib/Target/MBlaze/MBlazeMCInstLower.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h b/llvm/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h index 570ab08a07aa..52975631485b 100644 --- a/llvm/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h +++ b/llvm/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h @@ -1,4 +1,4 @@ -//===-- MBLazeInstPrinter.h - Convert MBlaze MCInst to assembly syntax ----===// +//===-- MBlazeInstPrinter.h - Convert MBlaze MCInst to assembly syntax ----===// // // The LLVM Compiler Infrastructure // diff --git a/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp b/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp index c07570a487b9..fb6c69585353 100644 --- a/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp +++ b/llvm/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp @@ -30,7 +30,7 @@ using namespace llvm; STATISTIC(FilledSlots, "Number of delay slots filled"); namespace llvm { -cl::opt DisableDelaySlotFiller( +cl::opt MBDisableDelaySlotFiller( "disable-mblaze-delay-filler", cl::init(false), cl::desc("Disable the MBlaze delay slot filter."), @@ -236,7 +236,7 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) { MachineBasicBlock::iterator D = MBB.end(); MachineBasicBlock::iterator J = I; - if (!DisableDelaySlotFiller) + if (!MBDisableDelaySlotFiller) D = findDelayInstr(MBB,I); ++FilledSlots; diff --git a/llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp b/llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp index f28d5a77d49c..cb9388c253cb 100644 --- a/llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp +++ b/llvm/lib/Target/MBlaze/MBlazeFrameLowering.cpp @@ -33,7 +33,7 @@ using namespace llvm; namespace llvm { - cl::opt DisableStackAdjust( + cl::opt MBDisableStackAdjust( "disable-mblaze-stack-adjust", cl::init(false), cl::desc("Disable MBlaze stack layout adjustment."), @@ -85,7 +85,7 @@ static void replaceFrameIndexes(MachineFunction &MF, //===----------------------------------------------------------------------===// static void analyzeFrameIndexes(MachineFunction &MF) { - if (DisableStackAdjust) return; + if (MBDisableStackAdjust) return; MachineFrameInfo *MFI = MF.getFrameInfo(); MBlazeFunctionInfo *MBlazeFI = MF.getInfo(); diff --git a/llvm/lib/Target/MBlaze/MBlazeMCInstLower.cpp b/llvm/lib/Target/MBlaze/MBlazeMCInstLower.cpp index a7e400b1d1a4..7e5598f56a82 100644 --- a/llvm/lib/Target/MBlaze/MBlazeMCInstLower.cpp +++ b/llvm/lib/Target/MBlaze/MBlazeMCInstLower.cpp @@ -1,4 +1,4 @@ -//===-- MBLazeMCInstLower.cpp - Convert MBlaze MachineInstr to an MCInst---===// +//===-- MBlazeMCInstLower.cpp - Convert MBlaze MachineInstr to an MCInst---===// // // The LLVM Compiler Infrastructure //