ilinpv 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;
----------------
Allen wrote:
> 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 ?
Function multiversioning depends on compiler-rt library, specify 
--rtlib=compiler-rt to make it work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150867

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to