https://github.com/AlexMaclean commented: Could you please add this new pass to NVPTXPassRegistry.def and write a simple lit test for it as well? Right now this looks like it is going to be dead code. https://github.com/llvm/llvm-project/pull/128960