[llvm] [CodeGen] Parse frame-pointer attribute once when creating MachineFunction (PR #191974)
Cullen Rhodes via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 09:42:38 PDT 2026
================
@@ -279,6 +280,10 @@ class MachineFrameInfo {
/// Set to true if this function has any function calls.
bool HasCalls = false;
+ /// Frame-pointer policy for this function to avoid repeated attribute
+ /// lookups in hot paths.
----------------
c-rhodes wrote:
thanks, that's something i didnt think about at all, think it's handled now
https://github.com/llvm/llvm-project/pull/191974
More information about the llvm-commits
mailing list