diff options
author | Philip Reames <preames@rivosinc.com> | 2024-01-24 17:10:59 -0800 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2024-01-24 17:10:59 -0800 |
commit | 795090739cf3b295be750dfba0af2ba993e60cdd (patch) | |
tree | aa4e0d985022bef6f01b960659cdc6e1622133f1 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 7386aa02efafc260ad8b2d0c9ca19d39e16cfd07 (diff) | |
download | llvm-795090739cf3b295be750dfba0af2ba993e60cdd.zip llvm-795090739cf3b295be750dfba0af2ba993e60cdd.tar.gz llvm-795090739cf3b295be750dfba0af2ba993e60cdd.tar.bz2 |
[RISCV] Fix a bug accidentally introduced in e9311f9
If we're lowering an e8 m8 shuffle and we have an index value greater than
255, we have no available space to generate an e16 index vector. The
code had originally handled this correctly, but in a recent refactoring
I had moved the single source code above the check, and thus broke the
single source by accident.
I have a change on review to rework this (https://github.com/llvm/llvm-project/pull/79330), but for now, go with the most obvious fix.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions