aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-02-01 11:01:29 +0000
committerGitHub <noreply@github.com>2024-02-01 11:01:29 +0000
commitda437330beca0411912ca46f2d5ef1e46403acbd (patch)
treec1feee861d2ff13c775b381db2e5b08c900ace47 /clang/lib/CodeGen/CodeGenModule.cpp
parentb5c0b67bc270936c8fa254dc42d920e867adef54 (diff)
downloadllvm-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