[all-commits] [llvm/llvm-project] e705b3: [CodeLayout] Add unittest for cache-directed sort

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 27 10:52:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e705b37a77c635a2cb7c9f5933805a82c6892e8c
      https://github.com/llvm/llvm-project/commit/e705b37a77c635a2cb7c9f5933805a82c6892e8c
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/code_placement_ext_tsp.ll
    M llvm/unittests/Transforms/Utils/CMakeLists.txt
    A llvm/unittests/Transforms/Utils/CodeLayoutTest.cpp

  Log Message:
  -----------
  [CodeLayout] Add unittest for cache-directed sort

The function reordering algorithm added by https://reviews.llvm.org/D152834 and
used by BOLT (https://reviews.llvm.org/D153039) is untested.

Add some tests at the appropriate layer.

Depends on D159526

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




More information about the All-commits mailing list