[compiler-rt] r355119 - [PGO] Update InstrProfData.inc to sync with llvm

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 28 11:06:02 PST 2019


Author: xur
Date: Thu Feb 28 11:06:02 2019
New Revision: 355119

URL: http://llvm.org/viewvc/llvm-project?rev=355119&view=rev
Log:
[PGO] Update InstrProfData.inc to sync with llvm

Modified:
    compiler-rt/trunk/lib/profile/InstrProfData.inc

Modified: compiler-rt/trunk/lib/profile/InstrProfData.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfData.inc?rev=355119&r1=355118&r2=355119&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfData.inc (original)
+++ compiler-rt/trunk/lib/profile/InstrProfData.inc Thu Feb 28 11:06:02 2019
@@ -635,10 +635,12 @@ serializeValueProfDataFrom(ValueProfReco
  * version for other variants of profile. We set the lowest bit of the upper 8
  * bits (i.e. bit 56) to 1 to indicate if this is an IR-level instrumentaiton
  * generated profile, and 0 if this is a Clang FE generated profile.
+ * 1 in bit 57 indicates there are context-sensitive records in the profile.
  */
 #define VARIANT_MASKS_ALL 0xff00000000000000ULL
 #define GET_VERSION(V) ((V) & ~VARIANT_MASKS_ALL)
 #define VARIANT_MASK_IR_PROF (0x1ULL << 56)
+#define VARIANT_MASK_CSIR_PROF (0x1ULL << 57)
 #define INSTR_PROF_RAW_VERSION_VAR __llvm_profile_raw_version
 #define INSTR_PROF_PROFILE_RUNTIME_VAR __llvm_profile_runtime
 




More information about the llvm-commits mailing list