summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/Makefile2
-rw-r--r--tools/opt/Makefile3
-rw-r--r--tools/opt/opt.cpp1
3 files changed, 2 insertions, 4 deletions
diff --git a/tools/bugpoint/Makefile b/tools/bugpoint/Makefile
index 272f973c2d..acafa838d0 100644
--- a/tools/bugpoint/Makefile
+++ b/tools/bugpoint/Makefile
@@ -11,7 +11,7 @@ LEVEL = ../..
TOOLNAME = bugpoint
LINK_COMPONENTS := bcreader bcwriter asmparser instrumentation scalaropts ipo \
- transforms linker
+ linker
REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
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