The actual callsite we are adding to doesn't need to be
willreturn/nounwind, only ever instructions between the callsite
and the return.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D156844
[Inliner] Add return attributes to callsites not marked `willreturn`/`nounwind` ClosedPublic Authored by goldstein.w.n on Aug 1 2023, 6:45 PM.
Details Summary The actual callsite we are adding to doesn't need to be
Diff Detail
Event Timelinegoldstein.w.n retitled this revision from [Inliner] Add return attributes to callsites not marked `willreturn` to [Inliner] Add return attributes to callsites not marked `willreturn`/`nounwind`.Aug 15 2023, 3:47 PM This revision is now accepted and ready to land.Aug 16 2023, 3:15 AM This revision was landed with ongoing or failed builds.Aug 16 2023, 8:42 PM Closed by commit rG4d51c6258e83: [Inliner] Add return attributes to callsites not marked `willreturn`/`nounwind` (authored by goldstein.w.n). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 550974 llvm/lib/Transforms/Utils/InlineFunction.cpp
llvm/test/Transforms/Inline/nonnull.ll
|
Can't happen? You can assert this instead.