[llvm-branch-commits] [llvm] [Inline] Preserve nofpclass(inf) on returned selects (PR #244343)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Nov 20 13:51:28 PST 2026
================
@@ -2951,6 +2964,7 @@ void llvm::InlineFunctionImpl(CallBase &CB, InlineFunctionInfo &IFI,
// Clone return attributes on the callsite into the calls within the inlined
// function which feed into its return value.
AddReturnAttributes(CB, VMap, InlinedFunctionInfo);
+ preserveNoInfReturn(CB, Returns);
----------------
arsenm wrote:
Why separate this from AddReturnAttributes?
https://github.com/llvm/llvm-project/pull/244343
More information about the llvm-branch-commits
mailing list