https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96433
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note what LLVM detects/matches is exactly: (for unsigned types) (A % B) <= A -> true (A % B) > A -> true
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 25 Oct 2023 20:45:02 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96433
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note what LLVM detects/matches is exactly: (for unsigned types) (A % B) <= A -> true (A % B) > A -> true