summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt
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
commitd6b092bbd568c2df397b3edc5bbf484b37315cd5 (patch)
tree5aa71cbc5be72acbb4ac42d2170fb14e181c88dd /llvm/tools/opt
parentcbb07bea14a708e1d7cfcb286cac334f83b0a192 (diff)
downloadbcm5719-llvm-d6b092bbd568c2df397b3edc5bbf484b37315cd5.tar.gz
bcm5719-llvm-d6b092bbd568c2df397b3edc5bbf484b37315cd5.zip
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 llvm-svn: 168905
Diffstat (limited to 'llvm/tools/opt')
-rw-r--r--llvm/tools/opt/opt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 7cced98dcc5..bac0d469479 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -820,9 +820,7 @@ int main(int argc, char **argv) {
cl::PrintOptionValues();
// Now that we have all of the passes ready, run them.
- Passes.doInitialization();
Passes.run(*M.get());
- Passes.doFinalization();
// Declare success.
if (!NoOutput || PrintBreakpoints)
OpenPOWER on IntegriCloud