[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 00:19:53 PDT 2026
aengelke wrote:
Where is this called so often? I vaguely remember looking into this 2 years ago and finding that hasFP (which does call this) was quite expensive and considered caching that. hasFPImpl also checks a lot of other things that are repeatedly queried in PEI, so there might be a larger impact by doing that? (Never got around to do it.)
https://github.com/llvm/llvm-project/pull/191974
More information about the llvm-commits
mailing list