================
@@ -173,6 +173,37 @@ class ARMTargetCodeGenInfo : public TargetCodeGenInfo {
setBranchProtectionFnAttributes(BPI, (*Fn));
}
+ if (FD) {
+ bool HasLongCalls = false, HasExecOnly = false;
+ if (Fn->hasFnAttribute("target-features")) {
----------------
efriedma-quic wrote:
This is pretty complicated code to catch an edge case that won't come up in
practice, and the backend will correctly diagnose. I don't think it's
necessary.
https://github.com/llvm/llvm-project/pull/147313
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits