Write llvm bytecode to output .s file as last step of LLC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1728 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 422dda0..14be992 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -269,4 +269,7 @@
 
   // Emit Module level assembly after all of the methods have been processed.
   PM.add(getModuleAsmPrinterPass(PM, Out));
+
+  // Emit bytecode to the sparc assembly file into its special section next
+  PM.add(getEmitBytecodeToAsmPass(Out));
 }