diff options
Diffstat (limited to 'tools/opt')
-rw-r--r-- | tools/opt/Makefile | 3 | ||||
-rw-r--r-- | tools/opt/opt.cpp | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/opt/Makefile b/tools/opt/Makefile index 6d11d34d3e..0ea3a7fc06 100644 --- a/tools/opt/Makefile +++ b/tools/opt/Makefile @@ -10,7 +10,6 @@ LEVEL = ../.. TOOLNAME = opt REQUIRES_EH := 1 -LINK_COMPONENTS := bcreader bcwriter instrumentation scalaropts ipo \ - transforms +LINK_COMPONENTS := bcreader bcwriter instrumentation scalaropts ipo include $(LEVEL)/Makefile.common diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 886bd63a4d..76cede13f6 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -202,7 +202,6 @@ void AddStandardCompilePasses(PassManager &PM) { addPass(PM, createFunctionInliningPass()); // Inline small functions addPass(PM, createArgumentPromotionPass()); // Scalarize uninlined fn args - addPass(PM, createRaisePointerReferencesPass());// Recover type information addPass(PM, createTailDuplicationPass()); // Simplify cfg by copying code addPass(PM, createInstructionCombiningPass()); // Cleanup for scalarrepl. addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs |