[all-commits] [llvm/llvm-project] a9cd49: [BOLT][NFC] Move Offset annotation to Group 1

Amir Aupov via All-commits all-commits at lists.llvm.org
Tue Jan 18 13:26:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9cd49d50e88aa142e6d57de90321d8810e1027f
      https://github.com/llvm/llvm-project/commit/a9cd49d50e88aa142e6d57de90321d8810e1027f
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M bolt/include/bolt/Core/MCPlus.h
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Core/MCPlusBuilder.cpp
    M bolt/lib/Passes/BinaryPasses.cpp
    M bolt/lib/Passes/Instrumentation.cpp
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Profile/DataReader.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][NFC] Move Offset annotation to Group 1

Summary:
Move the annotation to avoid dynamic memory allocations.
Improves the CPU time of instrumenting a large binary by 1% (+-0.8%, p-value 0.01)

Test Plan: NFC

Reviewers: maksfb

FBD30091656


  Commit: 7a403436db8bb11b3422cda0f7aa5915521426a0
      https://github.com/llvm/llvm-project/commit/7a403436db8bb11b3422cda0f7aa5915521426a0
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h

  Log Message:
  -----------
  [BOLT][NFC] Delimit bytes in MCAnnotation bitmask

Summary: Show individual bytes in the annotation mask.

Test Plan: ninja llvm-bolt

Reviewers: maksfb

FBD30026393


Compare: https://github.com/llvm/llvm-project/compare/4777eb295408...7a403436db8b


More information about the All-commits mailing list