summaryrefslogtreecommitdiff
path: root/tools/llc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-23 00:36:05 +0000
committerChris Lattner <sabre@nondot.org>2006-01-23 00:36:05 +0000
commit7e07b24b396459a773aabc20c2f7fab2215752fb (patch)
treeecb429a729e8bd6bad70e13de7151abec6a1255f /tools/llc
parent04666d8a391ad2acc126b56a497d9a86b503b094 (diff)
downloadllvm-7e07b24b396459a773aabc20c2f7fab2215752fb.tar.gz
llvm-7e07b24b396459a773aabc20c2f7fab2215752fb.tar.bz2
llvm-7e07b24b396459a773aabc20c2f7fab2215752fb.tar.xz
It doesn't make sense to give llc a list of passes on the command line,
LLVM doesn't use it and it can't work anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 892092591e..e63260a349 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -79,11 +79,6 @@ FileType("filetype", cl::init(TargetMachine::AssemblyFile),
" Emit a native dynamic library ('.so') file"),
clEnumValEnd));
-// The LLCPassList is populated with passes that were registered using
-// PassInfo::LLC by the FilteredPassNameParser:
-cl::list<const PassInfo*, bool, FilteredPassNameParser<PassInfo::LLC> >
-LLCPassList(cl::desc("Passes Available"));
-
cl::opt<bool> NoVerify("disable-verify", cl::Hidden,
cl::desc("Do not verify input module"));
@@ -157,19 +152,6 @@ int main(int argc, char **argv) {
PassManager Passes;
Passes.add(new TargetData(TD));
- // Create a new pass for each one specified on the command line
- for (unsigned i = 0; i < LLCPassList.size(); ++i) {
- const PassInfo *aPass = LLCPassList[i];
-
- if (aPass->getNormalCtor()) {
- Pass *P = aPass->getNormalCtor()();
- Passes.add(P);
- } else {
- std::cerr << argv[0] << ": cannot create pass: "
- << aPass->getPassName() << "\n";
- }
- }
-
#ifndef NDEBUG
if(!NoVerify)
Passes.add(createVerifierPass());