[all-commits] [llvm/llvm-project] 99720b: [MLIR][Utils] Fix the overflow issue in computeSuf...
Chao Chen via All-commits
all-commits at lists.llvm.org
Mon May 19 11:27:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99720bbb87d4f1968a3e25075e616063fbc18936
https://github.com/llvm/llvm-project/commit/99720bbb87d4f1968a3e25075e616063fbc18936
Author: Chao Chen <chao.chen at intel.com>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
M mlir/lib/Dialect/Utils/IndexingUtils.cpp
Log Message:
-----------
[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`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list