ruiling added a comment. I am not sure this is a good idea. Actually an ordinary V_CMP is still sinkable. It is only the V_CMP lowered from `llvm.amdgcn.icmp` that cannot be sinked. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D118185/new/ https://reviews.llvm.org/D118185