[PATCH] D147041: [CodeGen] Remove redundent instructions generated by combineAddrModes.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 22:49:51 PDT 2023


skatkov added a comment.

lgtm, please update summary. It does not corresponds to problem and fix.



================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:3661
 
+  void eraseCommonValueIfDead() {
+    if (CommonValue && CommonValue->getNumUses() == 0)
----------------
make it private for a while.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147041



More information about the llvm-commits mailing list