[llvm] [Inliner] Keep nonnull information around when inlining (PR #185080)
Nikolas Klauser via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 01:25:33 PDT 2026
philnik777 wrote:
> can you explain why `AddReturnAttributes` in `InlineFunction.cpp` doesn't address this?
This approach doesn't require that the attributes hold where the value is produced, but keeps the information around that the attributes hold at a certain point, namely where the `@llvm.assume` call is.
I we could disable `AddReturnAttributes` for attributes handled this way to improve compile times a bit.
https://github.com/llvm/llvm-project/pull/185080
More information about the llvm-commits
mailing list