[all-commits] [llvm/llvm-project] ae0978: FunctionAttrs: Propagate nofpclass from callsite a...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Feb 25 02:49:28 PST 2026


  Branch: refs/heads/users/arsenm/function-attrs/propagate-nofpclass-arguments-from-callsites
  Home:   https://github.com/llvm/llvm-project
  Commit: ae0978b3090427d2137f2e26e89a1774a65a6b2e
      https://github.com/llvm/llvm-project/commit/ae0978b3090427d2137f2e26e89a1774a65a6b2e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-02-25 (Wed, 25 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    A llvm/test/Transforms/FunctionAttrs/nofpclass-callsite-prop.ll
    M llvm/test/Transforms/FunctionAttrs/nonnull.ll

  Log Message:
  -----------
  FunctionAttrs: Propagate nofpclass from callsite arguments

Follow along with the nonnull handling. This is essentially the same,
except it can union with an existing attribute.

I'm wondering if getParamNoFPClass should have an AllowUndefOrPoison
argument to check noundef like nonnull. None of the uses of hasNonNullAttr
use this with true though, so maybe both should just check noundef.



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