[PATCH] D53342: [SimplifyLibCalls][WIP] Mark known arguments with nonnull

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 10:27:40 PDT 2018


xbolva00 added a comment.

Ping @spatel whether he has any idea why instcombine turns
define dso_local i32 @fff6(i8* nocapture readonly %s) local_unnamed_addr #5 {
entry:
%call = tail call i64 @strlen(i8* nonnull %s) #8
%conv = trunc i64 %call to i32
ret i32 %conv
}

to undef


https://reviews.llvm.org/D53342





More information about the llvm-commits mailing list