================
@@ -89,6 +89,9 @@ namespace llvm {
   /// info. Return true if module is modified.
   bool UpgradeDebugInfo(Module &M);
 
+  /// Copies module attributes to the functions in the module.
+  void CopyModuleAttrToFunctions(Module &M);
----------------
kovdan01 wrote:

Nit: it's probably worth having a more detailed comment here. For example, to 
explicitly say that this function will only have effect on thumb, arm and 
aarch64 (on other architectures, it just returns at the very beginning) and 
list attributes which are taken into account.

https://github.com/llvm/llvm-project/pull/86212
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to