antoniofrighetto wrote: Maybe I'm missing something, but at least from the tests, aren't the three canReplacePointersIfEqual being invoked on the same pointers all the times? Couldn't this be done only once? https://github.com/llvm/llvm-project/pull/161701