rename selection library to selectiondag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7878 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Makefile b/lib/ExecutionEngine/Makefile
index 883a906..d1ba9b6 100644
--- a/lib/ExecutionEngine/Makefile
+++ b/lib/ExecutionEngine/Makefile
@@ -19,7 +19,7 @@
# What the X86 JIT requires
ifdef ENABLE_X86_JIT
CPPFLAGS += -DENABLE_X86_JIT
- JITLIBS += x86 selection
+ JITLIBS += x86 selectiondag
# X86 doesn't require any ARCHLIBS
endif
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp
index 5b56bd8..817de61 100644
--- a/tools/gccld/gccld.cpp
+++ b/tools/gccld/gccld.cpp
@@ -367,7 +367,7 @@
PassManager Passes;
// Add an appropriate TargetData instance for this module...
- Passes.add(new TargetData("gccas", Composite.get()));
+ Passes.add(new TargetData("gccld", Composite.get()));
// Linking modules together can lead to duplicated global constants, only keep
// one copy of each constant...
@@ -387,6 +387,7 @@
// arguments). This pass merges the two functions.
//
Passes.add(createFunctionResolvingPass());
+ Passes.add(createFunctionResolvingPass());
if (!NoInternalize) {
// Now that composite has been compiled, scan through the module, looking
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index fd2b605..56ed57a 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -2,7 +2,7 @@
TOOLNAME = llc
USEDLIBS = sparc \
x86 \
- selection \
+ selectiondag \
regalloc \
sched \
select \
diff --git a/tools/lli/Makefile b/tools/lli/Makefile
index 883a906..d1ba9b6 100644
--- a/tools/lli/Makefile
+++ b/tools/lli/Makefile
@@ -19,7 +19,7 @@
# What the X86 JIT requires
ifdef ENABLE_X86_JIT
CPPFLAGS += -DENABLE_X86_JIT
- JITLIBS += x86 selection
+ JITLIBS += x86 selectiondag
# X86 doesn't require any ARCHLIBS
endif