From ddd5b417c6eb7ee480976ec479e7c9e6a466f176 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 26 Feb 2003 20:00:41 +0000 Subject: [PATCH] Rename -no-* to -disable-* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5642 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86RegisterInfo.cpp | 2 +- lib/Target/X86/X86TargetMachine.cpp | 2 +- test/CodeGen/X86/2002-12-23-LocalRAProblem.llx | 2 +- test/CodeGen/X86/2002-12-23-SubProblem.llx | 2 +- test/Jello/Makefile | 2 +- tools/opt/opt.cpp | 5 +++-- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp index 617c2d1efa7..12592c47176 100644 --- a/lib/Target/X86/X86RegisterInfo.cpp +++ b/lib/Target/X86/X86RegisterInfo.cpp @@ -19,7 +19,7 @@ namespace { cl::opt - 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 c578ba83a67..5015a9605b3 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -15,7 +15,7 @@ #include namespace { - cl::opt NoLocalRA("no-local-ra", + cl::opt NoLocalRA("disable-local-ra", cl::desc("Use Simple RA instead of Local RegAlloc")); cl::opt 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 28e5dbdc127..a049bc96d0e 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 fce528e9aaa..394f9ab3f67 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 bb7c8ec53c4..408f80af3c1 100644 --- a/test/Jello/Makefile +++ b/test/Jello/Makefile @@ -13,7 +13,7 @@ all:: $(addprefix Output/, $(TESTS:%.ll=%.out)) 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 74c30d12004..803f4c69931 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -48,10 +48,11 @@ static cl::opt PrintEachXForm("p", cl::desc("Print module after each transformation")); static cl::opt -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 -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 Quiet("q", cl::desc("Don't print 'program modified' message")); -- 2.34.1