summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-02-15 21:14:36 +0000
committerVedant Kumar <vsk@apple.com>2018-02-15 21:14:36 +0000
commit775c7af4f9ff934a85d4b6d521fffc7f5ac26cc0 (patch)
treeabbc35a6c84eb1edd39ec3b32656a58ed27f8cea /llvm/tools/opt/opt.cpp
parentf884cd42cc0d7d1a4522737e4af03feff017dd3a (diff)
downloadbcm5719-llvm-775c7af4f9ff934a85d4b6d521fffc7f5ac26cc0.tar.gz
bcm5719-llvm-775c7af4f9ff934a85d4b6d521fffc7f5ac26cc0.zip
[opt] Port the debugify passes to the new pass manager
llvm-svn: 325294
Diffstat (limited to 'llvm/tools/opt/opt.cpp')
-rw-r--r--llvm/tools/opt/opt.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp
index 8e839b23907..1b8d70458b1 100644
--- a/llvm/tools/opt/opt.cpp
+++ b/llvm/tools/opt/opt.cpp
@@ -257,9 +257,6 @@ static cl::opt<std::string>
cl::desc("YAML output filename for pass remarks"),
cl::value_desc("filename"));
-extern ModulePass *createDebugifyPass();
-extern ModulePass *createCheckDebugifyPass();
-
static inline void addPass(legacy::PassManagerBase &PM, Pass *P) {
// Add the pass to the pass manager...
PM.add(P);
@@ -555,7 +552,7 @@ int main(int argc, char **argv) {
OptRemarkFile.get(), PassPipeline, OK, VK,
PreserveAssemblyUseListOrder,
PreserveBitcodeUseListOrder, EmitSummaryIndex,
- EmitModuleHash)
+ EmitModuleHash, EnableDebugify)
? 0
: 1;
}
OpenPOWER on IntegriCloud