aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authoraengelke <engelke@in.tum.de>2024-05-29 20:38:34 +0200
committerGitHub <noreply@github.com>2024-05-29 20:38:34 +0200
commit9fe7aef1889300a17a594efb55358ebd032a81a2 (patch)
tree91f993ac68010aa32efc837cda2ef32594283bff /utils
parentdcbd1fbdf46e74e9be80ec8e3e865b8347e8532b (diff)
downloadllvm-9fe7aef1889300a17a594efb55358ebd032a81a2.zip
llvm-9fe7aef1889300a17a594efb55358ebd032a81a2.tar.gz
llvm-9fe7aef1889300a17a594efb55358ebd032a81a2.tar.bz2
[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.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions