[llvm] [GlobalOpt] Handle operators separately when removing GV users (PR #84694)

Anshil Gandhi via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 02:12:30 PST 2024


gandhi56 wrote:

@efriedma-quic I took a second look through all the cleanup routines. `isLeakCheckerRoot(GV)` seems necessary to me even though it's rarely applicable. So I am thinking to keep `cleanupPointerRootUsers` and improve it to cover cases as such as in the issue #64680. This will also prevent any potential failures in valgrind tests.

https://github.com/llvm/llvm-project/pull/84694


More information about the llvm-commits mailing list