freebsd-dev/contrib/llvm
Ruslan Bukin ca20f8ec29 o Replace __riscv__ with __riscv
o Replace __riscv64 with (__riscv && __riscv_xlen == 64)

This is required to support new GCC 7.1 compiler.
This is compatible with current GCC 6.1 compiler.

RISC-V is extensible ISA and the idea here is to have built-in define
per each extension, so together with __riscv we will have some subset
of these as well (depending on -march string passed to compiler):

__riscv_compressed
__riscv_atomic
__riscv_mul
__riscv_div
__riscv_muldiv
__riscv_fdiv
__riscv_fsqrt
__riscv_float_abi_soft
__riscv_float_abi_single
__riscv_float_abi_double
__riscv_cmodel_medlow
__riscv_cmodel_medany
__riscv_cmodel_pic
__riscv_xlen

Reviewed by:	ngie
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D11901
2017-08-07 14:09:57 +00:00
..
include Upgrade our copies of clang, llvm, lld and lldb to r309439 from the 2017-07-30 18:01:34 +00:00
lib Upgrade our copies of clang, llvm, lld and lldb to r309439 from the 2017-07-30 18:01:34 +00:00
patches Undo r289072, which reverted upstream llvm trunk r240144. This is going 2016-01-16 17:57:54 +00:00
projects/libunwind o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
tools Upgrade our copies of clang, llvm, lld and lldb to r309439 from the 2017-07-30 18:01:34 +00:00
utils/TableGen Merge llvm, clang, lld, lldb, compiler-rt and libc++ r308421, and update 2017-07-19 19:41:41 +00:00
FREEBSD-Xlist Update FREEBSD-Xlist files for llvm and clang. 2015-05-27 20:58:54 +00:00
LICENSE.TXT Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00