[PATCH] D93585: [AArch64] Enable out-of-line atomics by default.

Pavel Iliin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 11:32:18 PST 2021


ilinpv added a comment.

> You said Android is planning to adopt this. Do you know how? I thought they had their own libc; does it also implement `getauxval`, or do they have a separate `compiler-rt`, or something entirely different?

Android uses compiler-rt and has getauxval support: https://android.googlesource.com/platform/bionic/+/master/libc/bionic/getauxval.cpp

> There would need to be more checks in the CompilerRT case because most platforms won't benefit. There's already Clang logic to discover GCC installations (search for `GCCInstallationDetector`); I hope you'll be able to use that instead of trying to redo it.

Thanks for the tip, I'll try to utilize it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93585



More information about the llvm-commits mailing list