[RISCV] Recognise riscv32 and riscv64 in triple parsing code
authorAlex Bradbury <asb@lowrisc.org>
Tue, 1 Nov 2016 16:47:54 +0000 (16:47 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Tue, 1 Nov 2016 16:47:54 +0000 (16:47 +0000)
commitb6e784a240fa3f62874c457afa43be37278cfa2d
treec531437838d70751037513e0734fbaef289438b4
parent586aeee3413efe710bb70df86e30119f28281e82
[RISCV] Recognise riscv32 and riscv64 in triple parsing code

This is the first in a series of 10 initial patches that incrementally add an
MC layer for RISC-V to LLVM. See
<http://lists.llvm.org/pipermail/llvm-dev/2016-August/103748.html> for more
discussion.

Differential Revision: https://reviews.llvm.org/D23557

llvm-svn: 285707
llvm/include/llvm/ADT/Triple.h
llvm/lib/Support/Triple.cpp
llvm/unittests/ADT/TripleTest.cpp