diff options
author | Philip Reames <listmail@philipreames.com> | 2018-01-21 02:10:54 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2018-01-21 02:10:54 +0000 |
commit | f57714c3c776b250fd9e96491070ceee3f55735c (patch) | |
tree | 5fa4701dcc592ad33bf325ca2f1e56958b8e9eff /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 424e7a11749f7a635315874efe86d17304920d96 (diff) | |
download | llvm-f57714c3c776b250fd9e96491070ceee3f55735c.zip llvm-f57714c3c776b250fd9e96491070ceee3f55735c.tar.gz llvm-f57714c3c776b250fd9e96491070ceee3f55735c.tar.bz2 |
[DSE] Factor out common code [NFC]
We already had the pointer being stored to in the MemLoc, reuse that code. In merging cases, it turned out the interface of the getLocForWrite had become inconsitent with other related utilities. Fix that by making sure the input passes hasAnalyzableWrite as well.
llvm-svn: 323056
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions