Fix wording and grammar in Mips subtarget options.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2015-02-20 08:42:34 +00:00
parent d8210e33d4
commit 05e2b94f35

View File

@ -33,34 +33,29 @@ using namespace llvm;
// FIXME: Maybe this should be on by default when Mips16 is specified // FIXME: Maybe this should be on by default when Mips16 is specified
// //
static cl::opt<bool> Mixed16_32( static cl::opt<bool>
"mips-mixed-16-32", Mixed16_32("mips-mixed-16-32", cl::init(false),
cl::init(false), cl::desc("Allow for a mixture of Mips16 "
cl::desc("Allow for a mixture of Mips16 " "and Mips32 code in a single output file"),
"and Mips32 code in a single source file"), cl::Hidden);
cl::Hidden);
static cl::opt<bool> Mips_Os16( static cl::opt<bool> Mips_Os16("mips-os16", cl::init(false),
"mips-os16", cl::desc("Compile all functions that don't use "
cl::init(false), "floating point as Mips 16"),
cl::desc("Compile all functions that don' use " cl::Hidden);
"floating point as Mips 16"),
cl::Hidden); static cl::opt<bool> Mips16HardFloat("mips16-hard-float", cl::NotHidden,
cl::desc("Enable mips16 hard float."),
cl::init(false));
static cl::opt<bool> static cl::opt<bool>
Mips16HardFloat("mips16-hard-float", cl::NotHidden, Mips16ConstantIslands("mips16-constant-islands", cl::NotHidden,
cl::desc("MIPS: mips16 hard float enable."), cl::desc("Enable mips16 constant islands."),
cl::init(false)); cl::init(true));
static cl::opt<bool> static cl::opt<bool>
Mips16ConstantIslands( GPOpt("mgpopt", cl::Hidden,
"mips16-constant-islands", cl::NotHidden, cl::desc("Enable gp-relative addressing of mips small data items"));
cl::desc("MIPS: mips16 constant islands enable."),
cl::init(true));
static cl::opt<bool>
GPOpt("mgpopt", cl::Hidden,
cl::desc("MIPS: Enable gp-relative addressing of small data items"));
void MipsSubtarget::anchor() { } void MipsSubtarget::anchor() { }