================
@@ -6345,6 +6345,12 @@ void llvm::UpgradeFunctionAttributes(Function &F) {
RemovingAttrs = true;
}
+ if (Attribute A = F.getFnAttribute("nooutline");
+ A.isValid() && A.isStringAttribute()) {
+ F.removeFnAttr("nooutline");
----------------
topperc wrote:
Should we be using the AttrsToAdd/AttrsToRemove?
https://github.com/llvm/llvm-project/pull/163665
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits