summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llc
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2012-11-27 00:53:24 +0000
committerOwen Anderson <resistor@mac.com>2012-11-27 00:53:24 +0000
commit1db12f51353680685b8c30785188dca85c53c0b6 (patch)
treea47fd1c68eafd55362a468718b2621b2a80c5123 /llvm/tools/llc
parent8ec03f5b54fad5ea337b31cce318dc8214b25447 (diff)
downloadbcm5719-llvm-1db12f51353680685b8c30785188dca85c53c0b6.tar.gz
bcm5719-llvm-1db12f51353680685b8c30785188dca85c53c0b6.zip
Revert r168635 "Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model".
It appears to have broken at least one buildbot. llvm-svn: 168654
Diffstat (limited to 'llvm/tools/llc')
-rw-r--r--llvm/tools/llc/llc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp
index 4d4a74c009e..f3e5c20567f 100644
--- a/llvm/tools/llc/llc.cpp
+++ b/llvm/tools/llc/llc.cpp
@@ -359,7 +359,9 @@ 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.
OpenPOWER on IntegriCloud