[PATCH] D127910: [Clang][AArch64] Add SME C intrinsics for load and store
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 17 04:29:07 PDT 2022
sdesmalen added inline comments.
================
Comment at: clang/lib/Basic/Targets/AArch64.cpp:342
+ if (HasSME)
+ Builder.defineMacro("__ARM_FEATURE_SME", "1");
+
----------------
sagarkulkarni19 wrote:
> sdesmalen wrote:
> > When this macro is non-zero, it suggests that the compiler implements the full SME ACLE. That is currently not yet the case, so until then we should leave this macro undefined.
> Okay makes sense. But until all SME ACLE is implemented, do we need some sort of guard in the meantime while the SME intrinsics that are implemented incrementally?
The tests need to have manual `-D__ARM_FEATURE_SME` in the RUN lines. Once the feature is implemented and we add the definition automatically when +sme is specified, we update the tests. See for example D81725 where we did this for SVE.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127910/new/
https://reviews.llvm.org/D127910
More information about the cfe-commits
mailing list