diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-30 00:57:51 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-30 00:57:51 +0000 |
commit | ae44a6694eb4126d342b8cbc70f6b71d9f4fa810 (patch) | |
tree | c6eee267982a3ba81099dc958ca21efa76690d73 /tools/llc | |
parent | 7bf555c9b91af340207cfe4581b61cc983d40b52 (diff) | |
download | external_llvm-ae44a6694eb4126d342b8cbc70f6b71d9f4fa810.zip external_llvm-ae44a6694eb4126d342b8cbc70f6b71d9f4fa810.tar.gz external_llvm-ae44a6694eb4126d342b8cbc70f6b71d9f4fa810.tar.bz2 |
Remove unused flags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r-- | tools/llc/llc.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 439c22f..e5560da 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -58,7 +58,7 @@ static cl::opt<bool> Force("f", cl::desc("Overwrite output files")); // Determine optimization level. Level -O0 is equivalent to "fast" code gen. static cl::opt<char> OptLevel("O", - cl::desc("Optimization level. [-O0, -O1, -O2, -Os, or -O3]"), + cl::desc("Optimization level. [-O0, -O1, -O2, or -O3]"), cl::Prefix, cl::ZeroOrMore, cl::init(' ')); @@ -261,9 +261,8 @@ int main(int argc, char **argv) { return 1; case ' ': break; case '0': OLvl = CodeGenOpt::None; break; - case '1': OLvl = CodeGenOpt::One; break; - case '2': OLvl = CodeGenOpt::Two; break; - case 's': OLvl = CodeGenOpt::Size; break; + case '1': + case '2': OLvl = CodeGenOpt::Default; break; case '3': OLvl = CodeGenOpt::Aggressive; break; } |