[PATCH] D23557: [RISCV 1/10] Recognise riscv32 and riscv64 in triple parsing code

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 19 11:48:46 PDT 2016


Alex Bradbury via llvm-commits <llvm-commits at lists.llvm.org> writes:
> asb created this revision.
> asb added reviewers: theraven, jyknight.
> asb added a subscriber: llvm-commits.
>
> I'm sharing an initial set of patches that incrementally add an MC
> layer for RISC-V to LLVM. I've split everything up in to what are
> hopefully easily reviewable chunks (much like has been done with the
> incremental import of the AVR backend).
 ...
> Index: lib/Support/Triple.cpp
> ===================================================================
> --- lib/Support/Triple.cpp
> +++ lib/Support/Triple.cpp
> @@ -606,6 +615,8 @@
>    case Triple::renderscript32:
>    case Triple::renderscript64:
>    case Triple::shave:
> +  case Triple::riscv32:
> +  case Triple::riscv64:

These aren't quite alphabetically sorted - I think you meant to put them
just above shave.

>    case Triple::sparc:
>    case Triple::sparcel:
>    case Triple::sparcv9:


More information about the llvm-commits mailing list