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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John McCall 2010-03-04 00:21:47 +00:00
parent 2c4afd1d8e
commit 992e61992c

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