[PATCH] D37174: NewGVN: Make sure we don't incorrectly use PredicateInfo when doing PHI of ops

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 12:24:14 PDT 2017


davide added inline comments.


================
Comment at: llvm/trunk/lib/Transforms/Scalar/NewGVN.cpp:1788
+      if (!DT->dominates(PBranch->To, getBlockForValue(I)))
+        continue;
+      // TODO: Along the false edge, we may know more things too, like
----------------
Oh, this was where I saw that code.


Repository:
  rL LLVM

https://reviews.llvm.org/D37174





More information about the llvm-commits mailing list