diff options
author | George Chaltas <george.chaltas@intel.com> | 2025-01-17 13:56:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-17 15:56:58 -0500 |
commit | b1bf95c081297305b2c9810ff04a9dac7216b434 (patch) | |
tree | 6acdbd5be1c83f8b81ec8833a87a21dea00c112a /llvm/lib/Object/WasmObjectFile.cpp | |
parent | e5a28a3b4d09a3ab128439a0f4eb2659e0b1978b (diff) | |
download | llvm-b1bf95c081297305b2c9810ff04a9dac7216b434.zip llvm-b1bf95c081297305b2c9810ff04a9dac7216b434.tar.gz llvm-b1bf95c081297305b2c9810ff04a9dac7216b434.tar.bz2 |
ReduxWidth check for 0 (#123257)
Added assert to check for underflow of ReduxWidth
modified: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Source code analysis flagged the operation (ReduxWwidth - 1) as
potential underflow, since ReduxWidth is unsigned.
Realize that this should never happen if everything is working right,
but added an assert to check for it just in case.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions