diff options
author | David Green <david.green@arm.com> | 2025-04-26 11:00:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-26 11:00:53 +0100 |
commit | b9e32749d273a957e60170d6e7ef205fd1fb1834 (patch) | |
tree | e6dbae568d447a02c7db375d0b534c728e5bb61c /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 58430692fc15545e4e74103033498ba0464785f1 (diff) | |
download | llvm-b9e32749d273a957e60170d6e7ef205fd1fb1834.zip llvm-b9e32749d273a957e60170d6e7ef205fd1fb1834.tar.gz llvm-b9e32749d273a957e60170d6e7ef205fd1fb1834.tar.bz2 |
[GlobalISel] Clear nsw flags when converting sub to add. (#137288)
As shown in https://alive2.llvm.org/ce/z/PVwcTL we need to clear the nsw
flags too when converting a sub to a add if the constant is INT_MIN.
Fixes #137254
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions