summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-30 18:41:59 +0000
committerChris Lattner <sabre@nondot.org>2004-03-30 18:41:59 +0000
commit1a0e9ac2f52c8878386b1d9a19c0c8ac16b85f30 (patch)
treee839145d9efe38435c27b5b18bc76de08d5082f2 /llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
parent059f390257879427a111751986ed7e1da761c027 (diff)
downloadbcm5719-llvm-1a0e9ac2f52c8878386b1d9a19c0c8ac16b85f30.tar.gz
bcm5719-llvm-1a0e9ac2f52c8878386b1d9a19c0c8ac16b85f30.zip
Add the select lowering pass to get initial support for select instructions
llvm-svn: 12541
Diffstat (limited to 'llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index e8172c17ab5..c060f75a790 100644
--- a/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -136,6 +136,8 @@ SparcV9TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
+ PM.add(createLowerSelectPass());
+
// FIXME: implement the invoke/unwind instructions!
PM.add(createLowerInvokePass());
@@ -211,6 +213,8 @@ void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
+ PM.add(createLowerSelectPass());
+
// FIXME: implement the invoke/unwind instructions!
PM.add(createLowerInvokePass());
OpenPOWER on IntegriCloud