[MemLoc] Adjust memccpy support in MemoryLocation::getForArgument
authorDávid Bolvanský <david.bolvansky@gmail.com>
Wed, 28 Oct 2020 20:23:13 +0000 (21:23 +0100)
committerDávid Bolvanský <david.bolvansky@gmail.com>
Wed, 28 Oct 2020 20:26:10 +0000 (21:26 +0100)
commit49cddb90f6455d850fcee7d7cd5b414531e3422f
tree8da7f684ab024580738eab66ef790faa043c08ba
parent7a996027b9847d9808cb5567e8a4553989e1dbcf
[MemLoc]  Adjust memccpy support in MemoryLocation::getForArgument

Use LocationSize::upperBound instead of precise since we only know an upper bound on the number of bytes read/written.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D89885
llvm/lib/Analysis/MemoryLocation.cpp