[PowerPC] support powerpc64le as syntax-checking target (pass2)
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Tue, 4 Mar 2014 16:51:52 +0000 (16:51 +0000)
committerWill Schmidt <will_schmidt@vnet.ibm.com>
Tue, 4 Mar 2014 16:51:52 +0000 (16:51 +0000)
Register the Asm Printer for the ppc64le target.

This fills in a spot that was missed in an earlier change (r187179).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202861 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCAsmPrinter.cpp

index fb5dbf272ed45c043ba13f729c3d83f47aaf8f21..d0f1459a2f45424782d962eb80da8de4e02954e3 100644 (file)
@@ -1135,4 +1135,5 @@ static AsmPrinter *createPPCAsmPrinterPass(TargetMachine &tm,
 extern "C" void LLVMInitializePowerPCAsmPrinter() { 
   TargetRegistry::RegisterAsmPrinter(ThePPC32Target, createPPCAsmPrinterPass);
   TargetRegistry::RegisterAsmPrinter(ThePPC64Target, createPPCAsmPrinterPass);
+  TargetRegistry::RegisterAsmPrinter(ThePPC64LETarget, createPPCAsmPrinterPass);
 }