[llvm] [llvm][AArch64] Do not inline a function with different signing scheme. (PR #80642)

Nick Desaulniers via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 13:56:45 PST 2024


================
@@ -339,20 +339,25 @@ def UseSampleProfile : StrBoolAttr<"use-sample-profile">;
 def DenormalFPMath : ComplexStrAttr<"denormal-fp-math", [FnAttr]>;
 def DenormalFPMathF32 : ComplexStrAttr<"denormal-fp-math-f32", [FnAttr]>;
 
+// Attiribute compatiblity rules are generated to check the attribute of the
+// caller and callee and decide whether inlining should be allowed. CompatRule
+// and child classes are used for the rule generation. CompatRule takes only a
+// compare function which could be templated with the attribute type.
+// CompatRuleStrAttr takes the compare function and the string for checking the
----------------
nickdesaulniers wrote:

s/string/string attribute/

https://github.com/llvm/llvm-project/pull/80642


More information about the llvm-commits mailing list