aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
author4vtomat <brandon.wu@sifive.com>2023-07-25 03:26:41 -0700
committer4vtomat <brandon.wu@sifive.com>2023-08-03 01:48:23 -0700
commitf3ce925083d2214289c73b8f21590ac32beef03d (patch)
treeab9af30df1b7fcd5c0116b8ec0b984271bae1b56 /clang/lib/Frontend/CompilerInvocation.cpp
parentfe5370dd50e48f827aaee9f5fa80e751b1759a25 (diff)
downloadllvm-f3ce925083d2214289c73b8f21590ac32beef03d.zip
llvm-f3ce925083d2214289c73b8f21590ac32beef03d.tar.gz
llvm-f3ce925083d2214289c73b8f21590ac32beef03d.tar.bz2
[RISCV] Resolve a few bugs in RISCVVIntrinsicUtils.cpp
This patch does a few things: 1. Add a new type called Undefined to ScalarTypeKind. 2. Make RVVType::applyModifier early return when encounter invalid ScalarType, otherwise it could be modified to "non-invalid" type in the following code. 3. When FixedLMULType::SmallerThan is applied, the lmul should be "<" than specified one, so lmuls which are ">=" should be marked as invalid. Differential Revision: https://reviews.llvm.org/D156223
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions