================ @@ -10099,6 +10099,15 @@ define <2 x i64> @srem_zero_zero() { ; GCN-LABEL: kernel: ; GCN: ; %bb.0: ; %entry ; GCN-NEXT: s_endpgm ---------------- RKSimon wrote: redundant check? https://github.com/llvm/llvm-project/pull/148796