Rename a couple of options and fix some simple typos.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Wesley Peck 2011-11-26 21:50:38 +00:00
parent 06cb680779
commit a18f08318a
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
//===-- MBLazeInstPrinter.h - Convert MBlaze MCInst to assembly syntax ----===// //===-- MBlazeInstPrinter.h - Convert MBlaze MCInst to assembly syntax ----===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //

View File

@ -30,7 +30,7 @@ using namespace llvm;
STATISTIC(FilledSlots, "Number of delay slots filled"); STATISTIC(FilledSlots, "Number of delay slots filled");
namespace llvm { namespace llvm {
cl::opt<bool> DisableDelaySlotFiller( cl::opt<bool> MBDisableDelaySlotFiller(
"disable-mblaze-delay-filler", "disable-mblaze-delay-filler",
cl::init(false), cl::init(false),
cl::desc("Disable the MBlaze delay slot filter."), cl::desc("Disable the MBlaze delay slot filter."),
@ -236,7 +236,7 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
MachineBasicBlock::iterator D = MBB.end(); MachineBasicBlock::iterator D = MBB.end();
MachineBasicBlock::iterator J = I; MachineBasicBlock::iterator J = I;
if (!DisableDelaySlotFiller) if (!MBDisableDelaySlotFiller)
D = findDelayInstr(MBB,I); D = findDelayInstr(MBB,I);
++FilledSlots; ++FilledSlots;

View File

@ -33,7 +33,7 @@
using namespace llvm; using namespace llvm;
namespace llvm { namespace llvm {
cl::opt<bool> DisableStackAdjust( cl::opt<bool> MBDisableStackAdjust(
"disable-mblaze-stack-adjust", "disable-mblaze-stack-adjust",
cl::init(false), cl::init(false),
cl::desc("Disable MBlaze stack layout adjustment."), cl::desc("Disable MBlaze stack layout adjustment."),
@ -85,7 +85,7 @@ static void replaceFrameIndexes(MachineFunction &MF,
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
static void analyzeFrameIndexes(MachineFunction &MF) { static void analyzeFrameIndexes(MachineFunction &MF) {
if (DisableStackAdjust) return; if (MBDisableStackAdjust) return;
MachineFrameInfo *MFI = MF.getFrameInfo(); MachineFrameInfo *MFI = MF.getFrameInfo();
MBlazeFunctionInfo *MBlazeFI = MF.getInfo<MBlazeFunctionInfo>(); MBlazeFunctionInfo *MBlazeFI = MF.getInfo<MBlazeFunctionInfo>();

View File

@ -1,4 +1,4 @@
//===-- MBLazeMCInstLower.cpp - Convert MBlaze MachineInstr to an MCInst---===// //===-- MBlazeMCInstLower.cpp - Convert MBlaze MachineInstr to an MCInst---===//
// //
// The LLVM Compiler Infrastructure // The LLVM Compiler Infrastructure
// //