summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-08-30 09:38:15 +0200
committerGitHub <noreply@github.com>2024-08-30 09:38:15 +0200
commitd6ad55167094b7b23e71ec6eabfe942e7a485b41 (patch)
tree0d5f2f37642f733edc911170114f275cf9c9298c /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parent89e6a288674c9fae33aeb5448c7b1fe782b2bf53 (diff)
[IPSCCP] Infer nonnull return attribute (#106553)
Similarly to the existing range attribute inference, also infer the nonnull attribute on function return values. I think in practice FunctionAttrs will handle nearly all cases, the main one I think it doesn't is cases involving branch conditions. But as we already have the information here, we may as well materialize it.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions