Teach the pic16 target to recognize pic16-*-* triples.
authorJohn McCall <rjmccall@apple.com>
Thu, 4 Mar 2010 00:21:47 +0000 (00:21 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 4 Mar 2010 00:21:47 +0000 (00:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97691 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp

index 46cc81967ebdd3d59e972d097a8d942c059a3037..f1bdb1210fc60233229f0fa6164bd4fe7215f92a 100644 (file)
@@ -15,7 +15,8 @@ using namespace llvm;
 Target llvm::ThePIC16Target, llvm::TheCooperTarget;
 
 extern "C" void LLVMInitializePIC16TargetInfo() { 
-  RegisterTarget<> X(ThePIC16Target, "pic16", "PIC16 14-bit [experimental]");
+  RegisterTarget<Triple::pic16> X(ThePIC16Target, "pic16",
+                                  "PIC16 14-bit [experimental]");
 
   RegisterTarget<> Y(TheCooperTarget, "cooper", "PIC16 Cooper [experimental]");
 }