[all-commits] [llvm/llvm-project] b14bf6: [InstCombine] Generalize udiv by negative constant...

AZero13 via All-commits all-commits at lists.llvm.org
Tue Jul 14 11:10:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b14bf6e583da3e35054bac26c5eef74ff4e717d2
      https://github.com/llvm/llvm-project/commit/b14bf6e583da3e35054bac26c5eef74ff4e717d2
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    A llvm/test/Transforms/InstCombine/udiv-isknownnegative.ll

  Log Message:
  -----------
  [InstCombine] Generalize udiv by negative constant fold to handle non-constant values (#209322)

Use isKnownNegative() to catch non constant divisors.



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