Teach the pic16 target to recognize pic16-*-* triples.

llvm-svn: 97691
This commit is contained in:
John McCall 2010-03-04 00:21:47 +00:00
parent 19007009c8
commit 282b01ff42

View 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]");
}