aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9
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
commit5abd61f6d94bc9eab30778e05e69781a0d07781a (patch)
tree385ff87b2f5f27c10f7c0bab3715d6dc93db162e /lib/Target/SparcV9
parent18bdbc3dda73081193fa1070021558ea0c79691d (diff)
downloadexternal_llvm-5abd61f6d94bc9eab30778e05e69781a0d07781a.zip
external_llvm-5abd61f6d94bc9eab30778e05e69781a0d07781a.tar.gz
external_llvm-5abd61f6d94bc9eab30778e05e69781a0d07781a.tar.bz2
Add the select lowering pass to get initial support for select instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9')
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index e8172c1..c060f75 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/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());