aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2024-01-24 17:10:59 -0800
committerPhilip Reames <listmail@philipreames.com>2024-01-24 17:10:59 -0800
commit795090739cf3b295be750dfba0af2ba993e60cdd (patch)
treeaa4e0d985022bef6f01b960659cdc6e1622133f1 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parent7386aa02efafc260ad8b2d0c9ca19d39e16cfd07 (diff)
downloadllvm-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