diff options
author | Florian Hahn <flo@fhahn.com> | 2024-02-01 11:01:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 11:01:29 +0000 |
commit | da437330beca0411912ca46f2d5ef1e46403acbd (patch) | |
tree | c1feee861d2ff13c775b381db2e5b08c900ace47 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b5c0b67bc270936c8fa254dc42d920e867adef54 (diff) | |
download | llvm-da437330beca0411912ca46f2d5ef1e46403acbd.zip llvm-da437330beca0411912ca46f2d5ef1e46403acbd.tar.gz llvm-da437330beca0411912ca46f2d5ef1e46403acbd.tar.bz2 |
[SCEVExp] Keep NUW/NSW if both original inc and isomporphic inc agree. (#79512)
We are replacing with a wider increment. If both OrigInc and
IsomorphicInc are NUW/NSW, then we can preserve them on the wider
increment; the narrower IsomorphicInc would wrap before the wider
OrigInc, so the replacement won't make IsomorphicInc's uses more
poisonous.
PR: https://github.com/llvm/llvm-project/pull/79512
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions