harrisonGPU wrote: I’ve updated the patch to create new MachineInstrs for image atomics. If the result is unused, it now selects the no-return variant. Please review it again when you have time, thanks! :-) https://github.com/llvm/llvm-project/pull/150742