diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-08-30 09:38:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-30 09:38:15 +0200 |
| commit | d6ad55167094b7b23e71ec6eabfe942e7a485b41 (patch) | |
| tree | 0d5f2f37642f733edc911170114f275cf9c9298c /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
| parent | 89e6a288674c9fae33aeb5448c7b1fe782b2bf53 (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
