llvm-project/clang/lib
Craig Topper 18f3a14e13 [RISCV] Validate the SEW and LMUL operands to __builtin_rvv_vsetvli(max)
These are required to be constants, this patch makes sure they
are in the accepted range of values.

These are usually created by wrappers in the riscv_vector.h header
which should always be correct. This patch protects against a user
using the builtin directly.

Reviewed By: khchen

Differential Revision: https://reviews.llvm.org/D102086
2021-05-10 12:11:13 -07:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [SystemZ][z/OS] Set files in FileRemapper.cpp are text 2021-04-19 07:59:42 -04:00
AST [OpenMP] Overhaul `declare target` handling 2021-05-06 02:10:41 -05:00
ASTMatchers [ASTMatchers] Add `cxxBaseSpecifier` matcher (non-top-level) 2021-04-09 00:05:36 +01:00
Analysis Thread safety analysis: Eliminate parameter from intersectAndWarn (NFC) 2021-05-06 23:07:42 +02:00
Basic [OpenCL] Add clang extension for non-portable kernel parameters. 2021-05-05 14:58:23 +01:00
CodeGen [clang][AArch32] Correctly align HA arguments when passed on the stack 2021-05-10 16:28:46 +01:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver [clang] Support -fpic -fno-semantic-interposition for AArch64 2021-05-10 09:43:33 -07:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [clang-format] Rename common types between C#/JS 2021-05-06 12:12:58 +02:00
Frontend [clang] Add -fc++-abi= flag for specifying which C++ ABI to use 2021-05-04 10:52:13 -07:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [WebAssembly] Use functions instead of macros for const SIMD intrinsics 2021-05-07 11:50:19 -07:00
Index [Index] Ignore nullptr decls for indexing 2021-05-06 13:12:26 -07:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex [NFC] Synchronize reserved identifier code between macro and variables / symbols 2021-05-10 17:46:51 +02:00
Parse [OpenCL] Fix optional image types. 2021-05-07 13:29:28 +01:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema [RISCV] Validate the SEW and LMUL operands to __builtin_rvv_vsetvli(max) 2021-05-10 12:11:13 -07:00
Serialization [clang] Spell correct variable 2021-05-03 05:33:47 -07:00
StaticAnalyzer [analyzer] Fix assertion in SVals.h 2021-04-30 11:00:43 -05:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Support: Stop using F_{None,Text,Append} compatibility synonyms, NFC 2021-04-30 11:00:03 -07:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00