[PATCH] D111682: [TableGen][PGO] Disable profile instrumentation for printInstruction function

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 11:55:01 PDT 2021


rnk added inline comments.


================
Comment at: llvm/include/llvm/Support/Compiler.h:38
 #ifndef __has_attribute
 # define __has_attribute(x) 0
 #endif
----------------
`__has_attribute` is defined to false here if it is not available. I believe that will handle MSVC.


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

https://reviews.llvm.org/D111682



More information about the llvm-commits mailing list