aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-06-10 16:19:45 +0200
committerGitHub <noreply@github.com>2025-06-10 16:19:45 +0200
commitb27ab06a3d3f7f37496c5fa4dc367a3be0a8498d (patch)
tree2fb2d1cb6a1cf0526913fa9347b0d5cd82bd2a10 /flang/lib/Frontend/CompilerInvocation.cpp
parent99f6cb89352f7491e8cd3cc58c6d1ba687c99b27 (diff)
downloadllvm-b27ab06a3d3f7f37496c5fa4dc367a3be0a8498d.zip
llvm-b27ab06a3d3f7f37496c5fa4dc367a3be0a8498d.tar.gz
llvm-b27ab06a3d3f7f37496c5fa4dc367a3be0a8498d.tar.bz2
[InstCombine] Preserve flags for difference of gep chains (#143488)
When expanding the offset of a GEP chain via a series of adds, try to preserve the nsw/nuw flags based on inbounds/nuw. This is a followup to https://github.com/llvm/llvm-project/pull/142958. Proof: https://alive2.llvm.org/ce/z/8HiFYY (note that preserving nsw in the nusw case is not valid)
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions