[PATCH] D152337: [SCCP] Replace new value's value state with removed value's

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 01:26:57 PDT 2023


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

LGTM



================
Comment at: llvm/include/llvm/Transforms/Utils/SCCPSolver.h:142
 
-  void removeLatticeValueFor(Value *V);
+  void replaceAndRemoveLatticeValueFor(Value *From, Value *To);
 
----------------
I found this name confusing. Maybe just `moveLatticeValue`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152337



More information about the llvm-commits mailing list