================
@@ -3105,6 +3105,12 @@ void 
CodeGenModule::SetLLVMFunctionAttributesForDefinition(const Decl *D,
   if (CodeGenOpts.DisableOutlining || D->hasAttr<NoOutlineAttr>())
     B.addAttribute(llvm::Attribute::NoOutline);
 
+  if (D->hasAttr<NoIPAAttr>()) {
+    B.addAttribute(llvm::Attribute::NoIPA);
+    if (!F->hasFnAttribute(llvm::Attribute::AlwaysInline))
----------------
Disservin wrote:

that makes sense.. I will take a look over the weekend.

https://github.com/llvm/llvm-project/pull/207502
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to