Rename a couple of options and fix some simple typos.
authorWesley Peck <peckw@wesleypeck.com>
Sat, 26 Nov 2011 21:50:38 +0000 (21:50 +0000)
committerWesley Peck <peckw@wesleypeck.com>
Sat, 26 Nov 2011 21:50:38 +0000 (21:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145152 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.h
lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp
lib/Target/MBlaze/MBlazeFrameLowering.cpp
lib/Target/MBlaze/MBlazeMCInstLower.cpp

index 570ab08a07aad056378d84289a70db8ea7c4b597..52975631485b64499ce641ba5edc5b7c6e65d156 100644 (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
 //
index c07570a487b9ca7c759887b193559ddfc41c65b1..fb6c69585353316b9cd9fbe5d185ad8082dc67dc 100644 (file)
@@ -30,7 +30,7 @@ using namespace llvm;
 STATISTIC(FilledSlots, "Number of delay slots filled");
 
 namespace llvm {
-cl::opt<bool> DisableDelaySlotFiller(
+cl::opt<bool> 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;
index f28d5a77d49ca0dd2e95d3a2888e5e0436a38b28..cb9388c253cb407194d2a5ca3af5d7d11f0ebf8e 100644 (file)
@@ -33,7 +33,7 @@
 using namespace llvm;
 
 namespace llvm {
-  cl::opt<bool> DisableStackAdjust(
+  cl::opt<bool> 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<MBlazeFunctionInfo>();
index a7e400b1d1a44c5ba69f812359e044e0ed00770a..7e5598f56a82e2cc72ab23e9859a4a707166f955 100644 (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
 //