aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorDianQK <dianqk@dianqk.net>2024-06-30 06:23:27 +0800
committerGitHub <noreply@github.com>2024-06-30 06:23:27 +0800
commit4a96803abda2ad74f326de0af6b16552067bda65 (patch)
treec459ebf28f25f833b968b673313e7d98b2b6d02b /llvm/utils/FileCheck/FileCheck.cpp
parent56b2fcf001b765ff0886c058e3945f5d9b39b81c (diff)
downloadllvm-4a96803abda2ad74f326de0af6b16552067bda65.zip
llvm-4a96803abda2ad74f326de0af6b16552067bda65.tar.gz
llvm-4a96803abda2ad74f326de0af6b16552067bda65.tar.bz2
[AArch64] Avoid overflow when using shl lower mul (#97148)
Fixes #97147. Transforming `(mul x, -(2^(N-M) - 1) * 2^M)` to `(sub (shl x, M), (shl x, N))` will cause overflow when N is 32 and M is 31. I still added checks for all scenarios, even other scenarios, don't seem to cause overflow.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions