This is an archive of the discontinued LLVM Phabricator instance.

Teach isAddressUse() in LoopStrengthReduce.cpp about memory intrinsics
ClosedPublic

Authored by jonpa on Jul 11 2017, 8:58 AM.

Details

Reviewers
qcolombet
Summary

This was originally part of https://reviews.llvm.org/D35049, but broken out of it on request.

Return true for memset, memcpy and memmove for the address operands.

There is no test included here, but there is a test that depends on this in the original revision.

Diff Detail

Event Timeline

jonpa created this revision.Jul 11 2017, 8:58 AM
This revision is now accepted and ready to land.Jul 11 2017, 10:30 AM

Since this makes a lot of changes in output on its own, I will wait to commit this until https://reviews.llvm.org/D35049 is also ready and commited.

jonpa closed this revision.Jul 21 2017, 5:04 AM

r308729