summaryrefslogtreecommitdiff
path: root/tools/llc
diff options
context:
space:
mode:
authorPedro Artigas <partigas@apple.com>2012-11-29 17:47:05 +0000
committerPedro Artigas <partigas@apple.com>2012-11-29 17:47:05 +0000
commit6eda0813459547fe8094dd5d31f7dd2214b5ca7a (patch)
treef05390ab9a1da2f03cbe8195d4e4c49968c43091 /tools/llc
parent6a144e40b059735cd8e701f382680fc1725954bf (diff)
downloadllvm-6eda0813459547fe8094dd5d31f7dd2214b5ca7a.tar.gz
llvm-6eda0813459547fe8094dd5d31f7dd2214b5ca7a.tar.bz2
llvm-6eda0813459547fe8094dd5d31f7dd2214b5ca7a.tar.xz
One more step towards making doInitialization and doFinalization useful for
start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168905 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index f3e5c20567..4d4a74c009 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -359,9 +359,7 @@ int main(int argc, char **argv) {
// Before executing passes, print the final values of the LLVM options.
cl::PrintOptionValues();
- PM.doInitialization();
PM.run(*mod);
- PM.doFinalization();
}
// Declare success.