[llvm] [CodeGen] Parse frame-pointer attribute once when creating MachineFunction (PR #191974)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 05:40:23 PDT 2026
aengelke wrote:
> it does show up a couple more times in the profile I'm looking at but DisableFramePointerElim is why i believe
hasFPImpl should return the same thing for every function, so even if DisableFramePointerElim is fast, it'd still be wasteful to repeatedly check a dozen properties what should just be a single property.
Not saying we shouldn't do this -- just saying that there's more potential in addition to this.
https://github.com/llvm/llvm-project/pull/191974
More information about the llvm-commits
mailing list