[PATCH] D145781: [AArch64] Don't #define __ARM_FP when there's no FPU.

Tomas Matheson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 09:10:42 PDT 2023


tmatheson accepted this revision.
tmatheson added a comment.

LGTM



================
Comment at: clang/lib/Basic/Targets/AArch64.h:29
 
-  enum FPUModeEnum { FPUMode, NeonMode = (1 << 0), SveMode = (1 << 1) };
+  enum FPUModeEnum { FPUMode = (1 << 0), NeonMode = (1 << 1), SveMode = (1 << 2) };
 
----------------
clang-format please


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145781/new/

https://reviews.llvm.org/D145781



More information about the cfe-commits mailing list