summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorAzharuddin Mohammed <azharudd@codeaurora.org>2017-11-16 18:39:31 +0000
committerAzharuddin Mohammed <azharudd@codeaurora.org>2017-11-16 18:39:31 +0000
commitfa8420d0a118a21a24af0358d89d2b62c3319bbc (patch)
tree6e50c97e222e437869529d32d6b7d360dc2afc93 /llvm/lib/Target
parent433e8d3e04280f7f4839c275fbeedb213550bed0 (diff)
downloadbcm5719-llvm-fa8420d0a118a21a24af0358d89d2b62c3319bbc.tar.gz
bcm5719-llvm-fa8420d0a118a21a24af0358d89d2b62c3319bbc.zip
Fix RISCV build after r318352
Reviewers: asb, apazos, mgrang Reviewed By: mgrang Subscribers: rbar, johnrusso, simoncook, jordy.potman.lists, llvm-commits Differential Revision: https://reviews.llvm.org/D40139 llvm-svn: 318437
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp b/llvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
index 34932c25915..0f369d960fe 100644
--- a/llvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
+++ b/llvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
@@ -24,7 +24,7 @@ Target &getTheRISCV64Target() {
extern "C" void LLVMInitializeRISCVTargetInfo() {
RegisterTarget<Triple::riscv32> X(getTheRISCV32Target(), "riscv32",
- "32-bit RISC-V");
+ "32-bit RISC-V", "RISCV");
RegisterTarget<Triple::riscv64> Y(getTheRISCV64Target(), "riscv64",
- "64-bit RISC-V");
+ "64-bit RISC-V", "RISCV");
}
OpenPOWER on IntegriCloud