arsenm wrote: I realized we probably should be doing this in selection patterns to help with heuristics about how to select frame indexes, but I guess this could help in some cases? https://github.com/llvm/llvm-project/pull/110738