xbolva00 added a comment. if @efriedma is OK with this approach, I will add some tests, etc. Reviewers, please check the places where I added nonnull function arg attribute, I may missed something. Repository: rL LLVM https://reviews.llvm.org/D50039