commit | 840901cb394e3254fc71fadfbfa3f7e0331fa8a1 | [log] [tgz] |
---|---|---|
author | Philip Reames <listmail@philipreames.com> | Sun Jan 21 02:10:54 2018 |
committer | Philip Reames <listmail@philipreames.com> | Sun Jan 21 02:10:54 2018 |
tree | 371f016479ff10aceae91c4c2c31b1bb56d21a0a | |
parent | 7f165c8ada2de1d8247d83a5fda64ee4fa2bdb55 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323056 91177308-0d34-0410-b5e6-96231b3b80d8