[clang] [llvm] [ARM] Save floating point registers and status registers with save_fp function attribute (PR #89654)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 17:37:27 PDT 2024


================
@@ -5584,6 +5584,20 @@ static void handleAbiTagAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
                  AbiTagAttr(S.Context, AL, Tags.data(), Tags.size()));
 }
 
+static void handleARMInterruptSaveFPAttr(Sema &S, Decl *D,
+                                         const ParsedAttr &AL) {
+  handleARMInterruptAttr(S, D, AL);
+
+  bool VFP = S.Context.getTargetInfo().hasFeature("vfp");
----------------
efriedma-quic wrote:

Do we care if someone uses a "target" attribute?  Maybe not relevant for embedded targets where you'd use this.

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


More information about the llvm-commits mailing list