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

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 16:44:12 PDT 2018


dberlin added a comment.

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?


https://reviews.llvm.org/D45599





More information about the llvm-commits mailing list