[all-commits] [llvm/llvm-project] 718ba5: Reapply [InstCombine] lshr (mul (X, 2^N + 1)), N -...

AtariDreams via All-commits all-commits at lists.llvm.org
Wed May 29 03:12:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 718ba5a58452f013f40fab94f967064919bf13ff
      https://github.com/llvm/llvm-project/commit/718ba5a58452f013f40fab94f967064919bf13ff
  Author: AtariDreams <gfunni234 at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/ashr-lshr.ll
    M llvm/test/Transforms/InstCombine/lshr.ll

  Log Message:
  -----------
  Reapply [InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (#92907)

Alive2 Proofs:
https://alive2.llvm.org/ce/z/eSinJY
https://alive2.llvm.org/ce/z/vyKvde
https://alive2.llvm.org/ce/z/dRFsfV

I mistakenly reverted this commit as part of a larger set of
reverts. Reapplied without changes.



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