[all-commits] [llvm/llvm-project] ce0724: InstCombine: Only propagate callsite attributes in...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Feb 6 02:27:43 PST 2026


  Branch: refs/heads/users/arsenm/instcombine/fix-propagating-callee-attrs-to-callsite-sqrt-to-sqrtf
  Home:   https://github.com/llvm/llvm-project
  Commit: ce07248fccc738b91ec175022f49c7526aa35255
      https://github.com/llvm/llvm-project/commit/ce07248fccc738b91ec175022f49c7526aa35255
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-02-06 (Fri, 06 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/double-float-shrink-1.ll
    M llvm/test/Transforms/InstCombine/sqrt.ll

  Log Message:
  -----------
  InstCombine: Only propagate callsite attributes in sqrt->sqrtf

This was propagating the callee's attributes instead of just the
callsite. It's illegal to set denormal_fpenv on a callsite. This
was also losing callsite attributes which may have been more useful;
there's no point in setting the callee's attributes on the callsite.



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