================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to