diff options
author | Philip Reames <preames@rivosinc.com> | 2022-06-23 10:19:45 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-06-23 10:25:16 -0700 |
commit | 1cc97922811a27c2cd8fd88a1367f29f3d64487a (patch) | |
tree | 61793b5387cb3f9eef497881f9a1bf986a87c2da /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d9526e8a52ca9d5371f32a9cdad8981d31613408 (diff) | |
download | llvm-1cc97922811a27c2cd8fd88a1367f29f3d64487a.zip llvm-1cc97922811a27c2cd8fd88a1367f29f3d64487a.tar.gz llvm-1cc97922811a27c2cd8fd88a1367f29f3d64487a.tar.bz2 |
[RISCV] Fix a crash in InsertVSETVLI where we hadn't properly guarded for a SEWLMULRatioOnly abstract state
A forward abstract state can be in the special SEWLMULRatioOnly state which means we're not allowed to inspect its fields. The scalar to vector move case was mising a guard, and we'd crash on an assert. Test cases included.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions