[llvm-branch-commits] [llvm] [BOLT] Match blocks with calls as anchors (PR #96596)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 9 13:16:58 PDT 2024


================
@@ -40,6 +40,8 @@ class YAMLProfileReader : public ProfileReaderBase {
   /// Check if the file contains YAML.
   static bool isYAML(StringRef Filename);
 
+  using FunctionMap = DenseMap<uint32_t, yaml::bolt::BinaryFunctionProfile *>;
----------------
aaupov wrote:

```suggestion
  using ProfileLookupMap = DenseMap<uint32_t, yaml::bolt::BinaryFunctionProfile *>;
```

https://github.com/llvm/llvm-project/pull/96596


More information about the llvm-branch-commits mailing list