[PATCH] D70348: Add header guards for header files that should not be included on the PS4 platform

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 16:17:44 PST 2019


craig.topper added a comment.

You could probably just define add __ORBIS__ to every line and then rely on the individual feature defines at the end of the line to re-enable the ones that are really supported. I assume the target-cpu is set to btver for ps4?



================
Comment at: clang/lib/Headers/immintrin.h:460
   defined(__AVX512VP2INTERSECT__)
 #include <avx512vp2intersectintrin.h>
 #endif
----------------
you don't need this one either


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70348





More information about the cfe-commits mailing list