Files
clang-p2996/llvm/lib/CodeGen/MachineFunction.cpp
aengelke 9fe7aef188 [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.
2024-05-29 20:38:34 +02:00

55 KiB