[PATCH] D54177: PGO] change InstrProfData.inc for context sensitive PGO
Rong Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 15 14:07:46 PST 2019
xur updated this revision to Diff 181882.
xur added a comment.
As Teresa suggested, split unrelated change to r351257 (NFC)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54177/new/
https://reviews.llvm.org/D54177
Files:
lib/profile/InstrProfData.inc
Index: lib/profile/InstrProfData.inc
===================================================================
--- lib/profile/InstrProfData.inc
+++ lib/profile/InstrProfData.inc
@@ -636,10 +636,12 @@
* 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-sesitive 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54177.181882.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190115/b52dd10d/attachment.bin>
More information about the llvm-commits
mailing list