[PATCH] D37638: [IPSCCP] Move common functions to IPOUtils (NFC)

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 09:57:52 PDT 2017


mssimpso updated this revision to Diff 115416.
mssimpso edited the summary of this revision.
mssimpso added a comment.

Some updates.

- I moved the functions over to Analysis. This makes more sense to me since they don't modify the code at all. They'll also be able to be used by other analyses that way.
- I added back the `removeDeadConstantUsers` call in IPSCCP. This was an omission from the last version of the patch.


https://reviews.llvm.org/D37638

Files:
  include/llvm/Analysis/IPOUtils.h
  lib/Analysis/CMakeLists.txt
  lib/Analysis/IPOUtils.cpp
  lib/Transforms/Scalar/SCCP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37638.115416.patch
Type: text/x-patch
Size: 10017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170915/9d2fc99f/attachment.bin>


More information about the llvm-commits mailing list