aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcTargetMachine.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-03-04 06:00:41 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-03-04 06:00:41 +0000
commit4acfd039f92fea3b02227020e4e28f2e5db2d92e (patch)
tree4b632a68d3eb59c5ccb88ce63de71978ca70583d /lib/Target/Sparc/SparcTargetMachine.cpp
parentda69e7d9b3b6510eb4b0429e4ef4b563399fe7ca (diff)
Asm printer support, based on x86 - only prints mnemonics for now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcTargetMachine.cpp')
-rw-r--r--lib/Target/Sparc/SparcTargetMachine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcTargetMachine.cpp b/lib/Target/Sparc/SparcTargetMachine.cpp
index f9a499dca4..581c535ccb 100644
--- a/lib/Target/Sparc/SparcTargetMachine.cpp
+++ b/lib/Target/Sparc/SparcTargetMachine.cpp
@@ -53,6 +53,8 @@ bool SparcV8TargetMachine::addPassesToEmitAssembly(PassManager &PM,
// are producing.
PM.add(createMachineFunctionPrinterPass(&Out));
+ PM.add(createSparcV8CodePrinterPass(Out, *this));
+
PM.add(createMachineCodeDeleter());
return false;
}