[llvm] [StackFrameLayoutAnalysis] Use target-specific hook for SP offsets (PR #100386)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 08:07:43 PDT 2024


ilovepi wrote:

Thanks for working on this! Your approach is pretty close to what I was experimenting with, so I’m pretty happy with the direction you’re going. 

I did find that the getFrameIndexReference() API kind of handles something similar with per target hooks. I was considering using that and changing the diagnostics to reference the register used directly. 

I was also thinking about perhaps using some of the DWARF logic to reference the cfa, and make everything relative to that. 

https://github.com/llvm/llvm-project/pull/100386


More information about the llvm-commits mailing list