[llvm] r318437 - Fix RISCV build after r318352

Azharuddin Mohammed via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 10:39:31 PST 2017


Author: azharudd
Date: Thu Nov 16 10:39:31 2017
New Revision: 318437

URL: http://llvm.org/viewvc/llvm-project?rev=318437&view=rev
Log:
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

Modified:
    llvm/trunk/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp

Modified: llvm/trunk/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp?rev=318437&r1=318436&r2=318437&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp (original)
+++ llvm/trunk/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp Thu Nov 16 10:39:31 2017
@@ -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");
 }




More information about the llvm-commits mailing list