[llvm] [LLVM] [X86] Fix integer overflows in frame layout for huge frames (PR #101840)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 13 19:37:28 PST 2025
phoebewang wrote:
> and then during frame layout, when we adjust the offset to accommodate the frame layout and the frame pointer, we underflow `int32_t` and trigger the (corrected) offset assertion.
>
> It looks like there's already code that tries to handle this kind of thing in X86 ISel here:
I'm wondering if we can just disable the assertion for 32-bit target. My intuition is the underflow doesn't matter to a 32-bit address. The value should be the same w/ or w/o `lea`.
https://github.com/llvm/llvm-project/pull/101840
More information about the llvm-commits
mailing list