[PATCH] D155828: [llvm-exegesis] Guard `__builtin_thread_pointer` behind a configure check

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 12:31:40 PDT 2023


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

This is unfortunate... LG, but I'll defer to llvm-exegesis reviewers for a second opinion.



================
Comment at: llvm/cmake/config-ix.cmake:68
+check_c_source_compiles("
+        void* foo() {
+          return __builtin_thread_pointer();
----------------
LLVM style uses `void *`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155828



More information about the llvm-commits mailing list