[PATCH] D30478: Move memory coercion functions from GVN.cpp to VNCoercion.cpp so they can be shared between GVN and NewGVN.

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 15:17:37 PST 2017


dberlin created this revision.
Herald added subscribers: Prazek, mgorny.

These are the functions used to determine when values of loads can be
extracted from stores, etc, and to perform the necessary insertions to
do this.  There are no changes to the functions themselves except
reformatting, and one case where memdep was informed of a removed load
(which was pushed into the caller).


https://reviews.llvm.org/D30478

Files:
  include/llvm/Transforms/Utils/VNCoercion.h
  lib/Transforms/Scalar/GVN.cpp
  lib/Transforms/Utils/CMakeLists.txt
  lib/Transforms/Utils/VNCoercion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30478.90093.patch
Type: text/x-patch
Size: 44081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/b5e74749/attachment-0001.bin>


More information about the llvm-commits mailing list