llvm-project/clang/lib/Driver/ToolChains/Arch
Simon Cook dd1ee6dc07 [RISCV] Support experimental/unratified extensions
This adds support for enabling experimental/unratified RISC-V ISA
extensions in the -march string in the case where an explicit version
number has been declared, and the -menable-experimental-extensions flag
has been provided.

This follows the design as discussed on the mailing lists in the
following RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-January/138364.html

Since the RISC-V toolchain definition currently rejects any extension
with an explicit version number, the parsing logic has been tweaked to
support this, and to allow standard extensions to have their versions
checked in future patches.

The bitmanip 'b' extension has been added as a first use of this support,
it should easily extend to other as yet unratified extensions (such as
the vector 'v' extension).

Differential Revision: https://reviews.llvm.org/D73891
2020-04-09 18:04:22 +01:00
..
AArch64.cpp Replace std::string::find == 0 with StringRef::startswith 2020-03-31 21:01:09 +02:00
AArch64.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ARM.cpp [ARM][MVE] Fix a corner case of checking for MVE-I with -mfpu=none 2020-02-11 12:03:41 +00:00
ARM.h [clang][driver][ARM] Clean up ARM target & feature checking in clang driver. 2020-02-06 08:57:52 -05:00
Mips.cpp [mips] Set default float ABI to "soft" on FreeBSD 2019-10-09 10:38:03 +00:00
Mips.h [mips] Set default float ABI to "soft" on FreeBSD 2019-10-09 10:38:03 +00:00
PPC.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
PPC.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RISCV.cpp [RISCV] Support experimental/unratified extensions 2020-04-09 18:04:22 +01:00
RISCV.h [RISCV] Match GCC `-march`/`-mabi` driver defaults 2019-11-15 15:10:42 +00:00
Sparc.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sparc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SystemZ.cpp Move CLANG_SYSTEMZ_DEFAULT_ARCH to config.h. 2020-03-30 14:16:17 -04:00
SystemZ.h [SystemZ] Support -msoft-float 2020-02-04 10:32:45 -05:00
X86.cpp Revert "[X86] Add a Pass that builds a Condensed CFG for Load Value Injection (LVI) Gadgets" 2020-04-03 16:56:08 -07:00
X86.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00