https://github.com/fabianmcg commented: Please add a pattern for replacing the op by the input, allowing it to be truly a nop. You can then add this pattern to gpu-to-rocdl to handle the cases where it's not possible to use readfirstlane https://github.com/llvm/llvm-project/pull/157743