gandhi56 wrote: Thanks for the feedback. I decided to take a safer route by enhancing the LocalStackSlotAllocation pass instead of removing the feature. I corrected the newly added test as well. https://github.com/llvm/llvm-project/pull/166979