diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-04-29 14:10:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 14:10:37 -0700 |
commit | fff622fbf760f9ff4e10073ad859c2b663f33af8 (patch) | |
tree | 08d215d157e0287dc6f53221e6e80db375991cef /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 7e71466900f84770c08cc53807425a19918a3975 (diff) | |
download | llvm-fff622fbf760f9ff4e10073ad859c2b663f33af8.zip llvm-fff622fbf760f9ff4e10073ad859c2b663f33af8.tar.gz llvm-fff622fbf760f9ff4e10073ad859c2b663f33af8.tar.bz2 |
[BasicAA] Account for wrapping when using abs(Scale*V0 + (-Scale)*V1) >= abs(Scale) (#137755)
Similar to 1b7ef6aac8a3cad245c0ed14fe21725e31261f73, add a check to only
set MinAbsVarIndex if abs(Scale*V0) and abs((-Scale)*V1) won't wrap. In
the absence of IsNSW, try to use the bitwidths of the original V and
Scale to rule out wrapping
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions