[PATCH] D156176: [BOLT] Add blocks order kind to YAML profile header

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 16:17:21 PDT 2023


maksfb added inline comments.


================
Comment at: bolt/include/bolt/Profile/ProfileYAMLMapping.h:27
 namespace bolt {
+enum BlocksOrderType : uint8_t { ORDER_DFS = 0, ORDER_BINARY = 1 };
+
----------------
Since we only use DFS and non-DFS values internally, perhaps we can have the same boolean value in YAML?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156176



More information about the llvm-commits mailing list