diff options
author | John McCall <rjmccall@apple.com> | 2010-03-04 00:21:47 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-03-04 00:21:47 +0000 |
commit | 992e61992cd7f553b7ae4c235c0ae18a75881743 (patch) | |
tree | fc78fe4c3417ea9fafaaeaddb125c47a6876eeae /lib/Target/PIC16/TargetInfo | |
parent | 2c4afd1d8e3cd7cdf47a163deaf345a747541367 (diff) | |
download | external_llvm-992e61992cd7f553b7ae4c235c0ae18a75881743.zip external_llvm-992e61992cd7f553b7ae4c235c0ae18a75881743.tar.gz external_llvm-992e61992cd7f553b7ae4c235c0ae18a75881743.tar.bz2 |
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
Diffstat (limited to 'lib/Target/PIC16/TargetInfo')
-rw-r--r-- | lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp b/lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp index 46cc819..f1bdb12 100644 --- a/lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp +++ b/lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp @@ -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]"); } |