[all-commits] [llvm/llvm-project] a38f01: [BOLT] Set InitialDynoStats after EstimateEdgeCoun...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Thu May 23 11:37:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a38f0157f2a9efcae13b691c63723426e8adc0ee
      https://github.com/llvm/llvm-project/commit/a38f0157f2a9efcae13b691c63723426e8adc0ee
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Passes/BinaryPasses.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Rewrite/BinaryPassManager.cpp

  Log Message:
  -----------
  [BOLT] Set InitialDynoStats after EstimateEdgeCounts (#93218)

InitialDynoStats used to be assigned inside `runAllPasses`, but the
assignment executed before any of the passes. As we've moved
`EstimateEdgeCounts` into a pass out of ProfileReader, it needs to
execute before initial dyno stats are set.

Thus move `InitialDynoStats` into BinaryContext and assignment into
`DynoStatsSetPass`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list