projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c4afd1
)
Teach the pic16 target to recognize pic16-*-* triples.
author
John McCall
<rjmccall@apple.com>
Thu, 4 Mar 2010 00:21:47 +0000
(
00:21
+0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp
b/lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp
index 46cc81967ebdd3d59e972d097a8d942c059a3037..f1bdb1210fc60233229f0fa6164bd4fe7215f92a 100644
(file)
--- 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]");
}