OSDN Git Service

properly wire up the instprinter to the ppc64 backend, down to 5 failures.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 21:42:53 +0000 (21:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Nov 2010 21:42:53 +0000 (21:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119081 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCAsmPrinter.cpp

index 4577232..039bb4d 100644 (file)
@@ -948,5 +948,5 @@ extern "C" void LLVMInitializePowerPCAsmPrinter() {
   TargetRegistry::RegisterAsmPrinter(ThePPC64Target, createPPCAsmPrinterPass);
   
   TargetRegistry::RegisterMCInstPrinter(ThePPC32Target, createPPCMCInstPrinter);
-  TargetRegistry::RegisterMCInstPrinter(ThePPC32Target, createPPCMCInstPrinter);
+  TargetRegistry::RegisterMCInstPrinter(ThePPC64Target, createPPCMCInstPrinter);
 }