diff options
author | Chao Chen <chao.chen@intel.com> | 2025-05-19 13:27:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-19 13:27:37 -0500 |
commit | 99720bbb87d4f1968a3e25075e616063fbc18936 (patch) | |
tree | c0ee44554ffb87bca117ad3d06086276146b1952 /clang/lib/Serialization/ModuleCache.cpp | |
parent | b6dfe4dbfecc753a28c82e044e022dff6e7365b1 (diff) | |
download | llvm-99720bbb87d4f1968a3e25075e616063fbc18936.zip llvm-99720bbb87d4f1968a3e25075e616063fbc18936.tar.gz llvm-99720bbb87d4f1968a3e25075e616063fbc18936.tar.bz2 |
[MLIR][Utils] Fix the overflow issue in computeSuffixProductImpl for 32-bit system. (#140567)
In `int64_t r = strides.size() - 2`, it may cause overflow on 32-bit
system when strides.size() is 1, because `strides.size()` is defined
as `unsigned int`
Diffstat (limited to 'clang/lib/Serialization/ModuleCache.cpp')
0 files changed, 0 insertions, 0 deletions