summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-11-16 19:10:26 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-11-16 19:10:26 +0000
commit1eaf300faced614c63cb2ff5c683fffdd3a2935b (patch)
tree7c2e09155c6b5db2e99198d9700d14f675819248 /llvm/lib/Target
parent06239e42c6ca6a4107cfb2b0007c6fb7e273eb90 (diff)
downloadbcm5719-llvm-1eaf300faced614c63cb2ff5c683fffdd3a2935b.tar.gz
bcm5719-llvm-1eaf300faced614c63cb2ff5c683fffdd3a2935b.zip
[arc] Update TargetInfo to include the new backend name argument
Also update a comment about the usage of RegisterTarget() that didn't mention the new argument. llvm-svn: 318441
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARC/TargetInfo/ARCTargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARC/TargetInfo/ARCTargetInfo.cpp b/llvm/lib/Target/ARC/TargetInfo/ARCTargetInfo.cpp
index e94a373e34e..460b0a9f3e9 100644
--- a/llvm/lib/Target/ARC/TargetInfo/ARCTargetInfo.cpp
+++ b/llvm/lib/Target/ARC/TargetInfo/ARCTargetInfo.cpp
@@ -18,5 +18,5 @@ Target &llvm::getTheARCTarget() {
}
extern "C" void LLVMInitializeARCTargetInfo() {
- RegisterTarget<Triple::arc> X(getTheARCTarget(), "arc", "ARC");
+ RegisterTarget<Triple::arc> X(getTheARCTarget(), "arc", "ARC", "ARC");
}
OpenPOWER on IntegriCloud