[llvm] [StatepointLowering] Use FrameIndex instead of TargetFrameIndex (PR #153555)

Cullen Rhodes via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 01:40:58 PDT 2025


c-rhodes wrote:

I'm not really familiar with the statepoint lowering but was able to fix the crash following Eli's comment https://github.com/llvm/llvm-project/issues/142314#issuecomment-2937086780.

Would appreciate some input from someone with x86 knowledge if the test change is ok, I noticed elsewhere in the statepoint lowering it explicitly uses TargetFrameIndex to avoid selecting LEA: https://github.com/llvm/llvm-project/blob/ddb2dc50af270902547f367c5f9155ed682b6d70/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp#L386-L387

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


More information about the llvm-commits mailing list