[all-commits] [llvm/llvm-project] ca9d2e: [Hexagon] Add Loop Alignment pass. (#83379)

Sumanth Gundapaneni via All-commits all-commits at lists.llvm.org
Thu Feb 29 14:57:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca9d2e923b28adec9ae1754f0bb61b2e8ada025e
      https://github.com/llvm/llvm-project/commit/ca9d2e923b28adec9ae1754f0bb61b2e8ada025e
  Author: Sumanth Gundapaneni <sgundapa at quicinc.com>
  Date:   2024-02-29 (Thu, 29 Feb 2024)

  Changed paths:
    M clang/test/CodeGen/builtins-hexagon.c
    M llvm/lib/Target/Hexagon/CMakeLists.txt
    A llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetMachine.h
    A llvm/test/CodeGen/Hexagon/loop-balign.ll
    A llvm/test/CodeGen/Hexagon/loop_align_count.ll
    A llvm/test/CodeGen/Hexagon/loop_align_count.mir
    A llvm/test/CodeGen/Hexagon/v6-haar-balign32.ll

  Log Message:
  -----------
  [Hexagon] Add Loop Alignment pass. (#83379)

Inspect a basic block and if its single basic block loop with a small
number of instructions, set the Loop Alignment to 32 bytes. This will
avoid the cache line break in the first packet of loop which will cause
a stall per each execution of loop.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list