[all-commits] [llvm/llvm-project] c49941: [BOLT] Process fragment siblings in lite mode, kee...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Feb 8 19:11:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c49941bd0d7f2a7a9ddbdce29fd584827d00dd06
      https://github.com/llvm/llvm-project/commit/c49941bd0d7f2a7a9ddbdce29fd584827d00dd06
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/test/CMakeLists.txt
    A bolt/test/X86/fragment-lite-reverse.s
    A bolt/test/X86/fragment-lite.s
    M bolt/test/X86/split-func-icf.s
    M bolt/test/lit.cfg.py

  Log Message:
  -----------
  [BOLT] Process fragment siblings in lite mode, keep lite mode on

In lite mode, include split function fragments to the list of functions to
process even if a fragment has no samples. This is required to properly
detect and update split jump tables (jump tables that contain pointers to code
in the main and cold fragments).

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D140457




More information about the All-commits mailing list