[all-commits] [llvm/llvm-project] f5dfaa: [InstCombine] Teach takeLog2 log2(X + 1) IIF X[0, 1...

Andreas Jonson via All-commits all-commits at lists.llvm.org
Thu Jul 16 00:28:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5dfaa6dc5e85b6fbd4eb9f7eadef3ee010894d8
      https://github.com/llvm/llvm-project/commit/f5dfaa6dc5e85b6fbd4eb9f7eadef3ee010894d8
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/mul.ll

  Log Message:
  -----------
  [InstCombine] Teach takeLog2 log2(X + 1) IIF X[0,1] -> X (#209741)

proof: https://alive2.llvm.org/ce/z/B7WjCg



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