[PATCH] D150867: [AArch64][FMV] Prevent target attribute using for multiversioning.

Allen zhong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 6 01:58:10 PDT 2023


Allen added inline comments.


================
Comment at: clang/lib/Sema/SemaDecl.cpp:11544
+  // Target attribute on AArch64 is not used for multiversioning
+  if (NewTA && S.getASTContext().getTargetInfo().getTriple().isAArch64())
+    return false;
----------------
I find the attribute **target_clones/target_version** also not be used to generate multiversioning function? https://godbolt.org/z/cYWsbrPn9
so it is not support on AArch64 ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150867



More information about the cfe-commits mailing list