[PATCH] D36073: [CGP] Extends the scope of optimizeMemoryInst optimization

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 20:22:27 PDT 2017


skatkov added inline comments.


================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:4429
+// Returns false if this matching fails and creation of new Phi is disabled.
+bool MatchPhiSet(SmallPtrSetImpl<PHINode *> &PhiNodesToMatch,
+                 PhiSimplificationTracker &ST) {
----------------
should be static. Will update after first iteration of review.


https://reviews.llvm.org/D36073





More information about the llvm-commits mailing list