[all-commits] [llvm/llvm-project] 0fdf9b: [ConstraintElim] Infer linear constraints from udi...

Manasij Mukherjee via All-commits all-commits at lists.llvm.org
Tue Feb 10 06:25:36 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fdf9b967699f96142a40a44a34e6bfa82765ae3
      https://github.com/llvm/llvm-project/commit/0fdf9b967699f96142a40a44a34e6bfa82765ae3
  Author: Manasij Mukherjee <manasijm at nvidia.com>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    A llvm/test/Transforms/ConstraintElimination/urem-udiv.ll

  Log Message:
  -----------
  [ConstraintElim] Infer linear constraints from udiv and urem (#180689)

urem x, n: result < n (remainder is always less than divisor)
urem x, n: result <= x (remainder is at most the dividend)
udiv x, n: result <= x (quotient is at most the dividend)

https://alive2.llvm.org/ce/z/ezzsjQ



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list