https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116103
--- Comment #7 from Li Pan <pan2.li at intel dot com> --- Hi Thomas, Could you please help to double confirm the below patch is able to fix these asm check failure? https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658519.html I tested below cases for target=amdgcn-amdhsa, but would like to double confirm with you all related failures are covered. gcc.target/gcn/cond_smax_1.c scan-assembler-times \\tv_cmp_gt_i32\\tvcc, s[0-9]+, v[0-9]+ 80 gcc.target/gcn/cond_smin_1.c scan-assembler-times \\tv_cmp_gt_i32\\tvcc, s[0-9]+, v[0-9]+ 80 gcc.target/gcn/cond_umax_1.c scan-assembler-times \\tv_cmp_gt_i32\\tvcc, s[0-9]+, v[0-9]+ 56 gcc.target/gcn/cond_umin_1.c scan-assembler-times \\tv_cmp_gt_i32\\tvcc, s[0-9]+, v[0-9]+ 56 gcc.dg/tree-ssa/loop-bound-2.c scan-tree-dump-not ivopts "zero if " Pan