[all-commits] [llvm/llvm-project] 4be308: [BOLT] Remove mutable from BB::LayoutIndex (#93224)

shaw young via All-commits all-commits at lists.llvm.org
Fri May 31 11:52:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4be3083bb39836466680a15f970ecc883d2e362a
      https://github.com/llvm/llvm-project/commit/4be3083bb39836466680a15f970ecc883d2e362a
  Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M bolt/include/bolt/Core/BinaryBasicBlock.h
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/IdenticalCodeFolding.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp

  Log Message:
  -----------
  [BOLT] Remove mutable from BB::LayoutIndex (#93224)

Removed mutability from BB::LayoutIndex, subsequently removed const from
BB::SetLayout, and changed BF::dfs to track visited blocks with a set as
opposed to tracking and altering LayoutIndexes for more consistent code.



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