[PATCH] D139582: [GVN] Improve PRE on load instructions

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 25 20:27:45 PST 2022


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

I think this is fine, please wait few more days if someone else has concerns.



================
Comment at: llvm/lib/Transforms/Scalar/GVN.cpp:1840
+  eliminatePartiallyRedundantLoad(Load, ValuesPerBlock, AvailableLoads,
+                                  nullptr);
   ++NumPRELoopLoad;
----------------
nit: `/*CriticalEdgePredAndLoad*/ nullptr`


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

https://reviews.llvm.org/D139582



More information about the llvm-commits mailing list