https://github.com/arsenm commented: Other optimizations already redirect calls to aliases to direct calls, so I don't think this pass should have to put in the effort to also do the same. I think GlobalOpt? https://github.com/llvm/llvm-project/pull/106528