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

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 5 15:35:56 PST 2017


davide accepted this revision.
davide added a comment.
This revision is now accepted and ready to land.

LGTM, with the inline comment addressed. Thanks!



================
Comment at: lib/Transforms/Utils/VNCoercion.cpp:1-6
+#include "llvm/Transforms/Utils/VNCoercion.h"
+#include "llvm/Analysis/AliasAnalysis.h"
+#include "llvm/Analysis/ConstantFolding.h"
+#include "llvm/Analysis/MemoryDependenceAnalysis.h"
+#include "llvm/Analysis/ValueTracking.h"
+#include "llvm/IR/IRBuilder.h"
----------------
This probably needs an header comment with the license etc..


https://reviews.llvm.org/D30478





More information about the llvm-commits mailing list