[all-commits] [llvm/llvm-project] d102f8: [MachineBlockPlacement][X86] Use max of MDAlign an...

Freddy Ye via All-commits all-commits at lists.llvm.org
Mon Nov 20 22:06:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d102f8bda1544945fe82b1fbbf4629e7c1389970
      https://github.com/llvm/llvm-project/commit/d102f8bda1544945fe82b1fbbf4629e7c1389970
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/CodeGen/MachineLoopInfo.h
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    M llvm/lib/CodeGen/MachineLoopInfo.cpp
    A llvm/test/CodeGen/X86/code-align-loops.ll

  Log Message:
  -----------
  [MachineBlockPlacement][X86] Use max of MDAlign and TLIAlign to align Loops. (#71026)

This patch added backend consumption on a new loop metadata:
!1 = !{!"llvm.loop.align", i32 64}
which is generated from clang's new loop attribute:
[[clang::code_align()]]
clang patch: #70762




More information about the All-commits mailing list