[all-commits] [llvm/llvm-project] e5bdb7: [InstCombine] fold ldexp(x, sext(i1 y)) to fmul x, ...

c8ef via All-commits all-commits at lists.llvm.org
Tue Jun 11 02:42:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5bdb7af86c2947ab138049f0aafd7de9381b944
      https://github.com/llvm/llvm-project/commit/e5bdb7af86c2947ab138049f0aafd7de9381b944
  Author: c8ef <c8ef at outlook.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    A llvm/test/Transforms/InstCombine/ldexp-ext.ll
    R llvm/test/Transforms/InstCombine/ldexp-zext.ll

  Log Message:
  -----------
  [InstCombine] fold ldexp(x, sext(i1 y)) to fmul x, (select y, 0.5, 1.0) (#95073)

Follow up of #94887.

Context:
https://github.com/llvm/llvm-project/pull/94887#pullrequestreview-2106213891



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