[PATCH] D73804: [GVN] Add GVNOption to control load-pre more fine-grained.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 14:26:01 PST 2020


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/GVN.cpp:1406
     return false;
+  if (!isLoadInLoopPREEnabled() && this->LI &&
+      this->LI->getLoopFor(LI->getParent()))
----------------
nit: drop unnecessary this-> ?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73804/new/

https://reviews.llvm.org/D73804





More information about the llvm-commits mailing list