aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lli
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-10-16 21:02:20 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-10-16 21:02:20 +0000
commitbf57b52ba424bbaaa6e2d25dd4df731deb59f959 (patch)
tree547a1d8838ea2587ede5d4058fe47e87d0a6bbb1 /tools/lli
parentb00f236b03ea57520f94823780896ebdbc5d8bdc (diff)
downloadexternal_llvm-bf57b52ba424bbaaa6e2d25dd4df731deb59f959.zip
external_llvm-bf57b52ba424bbaaa6e2d25dd4df731deb59f959.tar.gz
external_llvm-bf57b52ba424bbaaa6e2d25dd4df731deb59f959.tar.bz2
Add a CodeGenOpt::Less level to match -O1. It'll be used by clients which do not want post-regalloc scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r--tools/lli/lli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index e5c1070..723d6a8 100644
--- a/tools/lli/lli.cpp
+++ b/tools/lli/lli.cpp
@@ -148,7 +148,7 @@ int main(int argc, char **argv, char * const *envp) {
return 1;
case ' ': break;
case '0': OLvl = CodeGenOpt::None; break;
- case '1':
+ case '1': OLvl = CodeGenOpt::Less; break;
case '2': OLvl = CodeGenOpt::Default; break;
case '3': OLvl = CodeGenOpt::Aggressive; break;
}