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

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 12:34:49 PST 2024


================
@@ -359,7 +366,10 @@ def : CompatRule<"isEqual<ShadowCallStackAttr>">;
 def : CompatRule<"isEqual<UseSampleProfileAttr>">;
 def : CompatRule<"isEqual<NoProfileAttr>">;
 def : CompatRule<"checkDenormMode">;
-
+def : CompatRule<"checkStrictFP">;
+def : CompatRuleAttr<"isEqual", "sign-return-address">;
+def : CompatRuleAttr<"isEqual", "sign-return-address-key">;
+def : CompatRuleAttr<"isEqual", "branch-protection-pauth-lr">;
----------------
DanielKristofKiss wrote:

> Is this because these attributes are string attributes?
Correct, and string can't be a template param ( `isEqual<"sign-return-address">"` won't work)




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


More information about the llvm-commits mailing list