[all-commits] [llvm/llvm-project] d65fec: [ARM] Set preferred function alignment
NickGuy-Arm via All-commits
all-commits at lists.llvm.org
Wed Aug 16 09:33:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d65feccb126226e6f7805a01d759ca1c9ce28237
https://github.com/llvm/llvm-project/commit/d65feccb126226e6f7805a01d759ca1c9ce28237
Author: Nicholas Guy <nicholas.guy at arm.com>
Date: 2023-08-16 (Wed, 16 Aug 2023)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMSubtarget.h
A llvm/test/CodeGen/ARM/preferred-function-alignment.ll
Log Message:
-----------
[ARM] Set preferred function alignment
Aligning functions yields small performance gains on
embedded cores, moreso with numerous small function calls.
Similar to aligning loops, if the function can fit within
a single cache line then the performance overhead of
fetching more instructions can be limited.
Differential Revision: https://reviews.llvm.org/D157514
More information about the All-commits
mailing list