[all-commits] [llvm/llvm-project] 9fe7ae: [CodeGen] Don't check attrs for stack realign (#92...
aengelke via All-commits
all-commits at lists.llvm.org
Wed May 29 11:38:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9fe7aef1889300a17a594efb55358ebd032a81a2
https://github.com/llvm/llvm-project/commit/9fe7aef1889300a17a594efb55358ebd032a81a2
Author: aengelke <engelke at in.tum.de>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/TargetRegisterInfo.cpp
Log Message:
-----------
[CodeGen] Don't check attrs for stack realign (#92564)
shouldRealignStack/canRealignStack are repeatedly called in PEI (through
hasStackRealignment). Checking function attributes is expensive, so
cache this data in the MachineFrameInfo, which had most data already.
This slightly changes the semantics of `MachineFrameInfo::ForcedRealign`
to be also true when the `stackrealign` attribute is set.
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