Rename -no-* to -disable-*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5642 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp
index 617c2d1..12592c4 100644
--- a/lib/Target/X86/X86RegisterInfo.cpp
+++ b/lib/Target/X86/X86RegisterInfo.cpp
@@ -19,7 +19,7 @@
namespace {
cl::opt<bool>
- NoFPElim("no-fp-elim",
+ NoFPElim("disable-fp-elim",
cl::desc("Disable frame pointer elimination optimization"));
}
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index c578ba8..5015a96 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -15,7 +15,7 @@
#include <iostream>
namespace {
- cl::opt<bool> NoLocalRA("no-local-ra",
+ cl::opt<bool> NoLocalRA("disable-local-ra",
cl::desc("Use Simple RA instead of Local RegAlloc"));
cl::opt<bool> PrintCode("print-machineinstrs",
cl::desc("Print generated machine code"));
diff --git a/test/CodeGen/X86/2002-12-23-LocalRAProblem.llx b/test/CodeGen/X86/2002-12-23-LocalRAProblem.llx
index 28e5dbd..a049bc9 100644
--- a/test/CodeGen/X86/2002-12-23-LocalRAProblem.llx
+++ b/test/CodeGen/X86/2002-12-23-LocalRAProblem.llx
@@ -1,4 +1,4 @@
-; RUN: as < %s | lli -force-interpreter=false -no-local-ra=false
+; RUN: as < %s | lli -force-interpreter=false -disable-local-ra=false
;-print-machineinstrs
int %main() {
diff --git a/test/CodeGen/X86/2002-12-23-SubProblem.llx b/test/CodeGen/X86/2002-12-23-SubProblem.llx
index fce528e..394f9ab 100644
--- a/test/CodeGen/X86/2002-12-23-SubProblem.llx
+++ b/test/CodeGen/X86/2002-12-23-SubProblem.llx
@@ -1,4 +1,4 @@
-; RUN: as < %s | lli -force-interpreter=false -no-local-ra
+; RUN: as < %s | lli -force-interpreter=false -disable-local-ra
int %main(int %B) {
;%B = add int 0, 1
diff --git a/test/Jello/Makefile b/test/Jello/Makefile
index bb7c8ec..408f80a 100644
--- a/test/Jello/Makefile
+++ b/test/Jello/Makefile
@@ -13,7 +13,7 @@
LLI_FLAGS = -force-interpreter=false
ifdef DISABLE_FP_ELIM
-LLI_FLAGS += -no-fp-elim
+LLI_FLAGS += -disable-fp-elim
endif
Output/%.out: Output/%.bc $(LLI)
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 74c30d1..803f4c6 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -48,10 +48,11 @@
PrintEachXForm("p", cl::desc("Print module after each transformation"));
static cl::opt<bool>
-NoOutput("no-output", cl::desc("Do not write result bytecode file"), cl::Hidden);
+NoOutput("disable-output",
+ cl::desc("Do not write result bytecode file"), cl::Hidden);
static cl::opt<bool>
-NoVerify("no-verify", cl::desc("Do not verify result module"), cl::Hidden);
+NoVerify("disable-verify", cl::desc("Do not verify result module"), cl::Hidden);
static cl::opt<bool>
Quiet("q", cl::desc("Don't print 'program modified' message"));