[all-commits] [llvm/llvm-project] 7173ae: [llvm-exegesis] Align loop MBB in loop repetitor (...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Jan 8 11:51:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7173ae99c0e1b13536a8492335c595f8aaee4267
      https://github.com/llvm/llvm-project/commit/7173ae99c0e1b13536a8492335c595f8aaee4267
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp

  Log Message:
  -----------
  [llvm-exegesis] Align loop MBB in loop repetitor (#77264)

This patch sets the alignment of the loob MBB in the loop repetitor to
16 to avoid instruction fetch/predecoding bottlenecks that can come up
with unaligned code. The value of 16 was chosen based on numbers for
recent Intel microarchitectures and reccomendations from Agner Fog.

Fixes #77259.




More information about the All-commits mailing list