[all-commits] [llvm/llvm-project] 76e375: [Hexagon] Order objects on the stack by their alig...

Ikhlas Ajbar via All-commits all-commits at lists.llvm.org
Sat Feb 10 12:43:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76e3759d8d2dc5af755737a764b237ff04aaf7f4
      https://github.com/llvm/llvm-project/commit/76e3759d8d2dc5af755737a764b237ff04aaf7f4
  Author: Ikhlas Ajbar <iajbar at quicinc.com>
  Date:   2024-02-10 (Sat, 10 Feb 2024)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.h
    M llvm/test/CodeGen/Hexagon/hvx-reuse-fi-base.ll
    A llvm/test/CodeGen/Hexagon/order-stack-object.ll
    M llvm/test/CodeGen/Hexagon/store-imm-stack-object.ll
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/hexagon_generated_funcs.ll.generated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/hexagon_generated_funcs.ll.nogenerated.expected

  Log Message:
  -----------
  [Hexagon] Order objects on the stack by their alignments (#81280)

This patch sorts stack objects by their alignment value from the largest
to the smallest. If two objects have the same alignment, then they are
sorted by their size from the largest to the smallest. This minimizes
padding and reduces run time stack size.




More information about the All-commits mailing list