[all-commits] [llvm/llvm-project] b446f9: SimplifyLibCalls: Don't require ldexp to emit intr...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jun 13 01:11:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b446f9079bdc1123e1aafe5a535d8dbea835d8e8
      https://github.com/llvm/llvm-project/commit/b446f9079bdc1123e1aafe5a535d8dbea835d8e8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/pow-to-ldexp.ll

  Log Message:
  -----------
  SimplifyLibCalls: Don't require ldexp to emit intrinsic in pow combine (#95277)

Do not require a libm ldexp libcall to emit the ldexp intrinsic when
transforming pow(2, x) -> ldexp(1, x)

This enables the half intrinsic case to fold.



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