[PATCH] D45599: [SimplifyLibcalls] Memcpy + strlen propagation

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 16:50:33 PDT 2018


xbolva00 added a comment.

In https://reviews.llvm.org/D45599#1066574, @dberlin wrote:

> GVN should already be able to get this, and if it can't, improve it's intrinsic handling (Either in  VNCoercion's memory transfer intrinsic handling, or ...).
>
> That's gonna do a lot better than trying to special case it in libcall simplification.
>  It also looks like you made it O(number of instructions) worst case per call?


Ok, so I will close this change. If you know GVN, check this case..


https://reviews.llvm.org/D45599





More information about the llvm-commits mailing list