[llvm] [X86] Update large-displacement.ll (PR #151860)
Abhishek Kaushik via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 3 05:19:23 PDT 2025
================
@@ -44,6 +45,7 @@ entry:
; Same test as above but for an anonymous function.
define i32 @0() #0 {
; ERR-i686: error: <unknown>:0:0: 64-bit offset calculated but target is 32-bit
+; ERR-i686: warning: <unknown>:0:0: stack frame size (4294967324) exceeds limit (4294967295) in function '@0'
----------------
abhishek-kaushik22 wrote:
I checked with a debug build and EXPENSIVE_CHECKS on and it was still failing with a fatal_error in MachineVerifier. I've used `--verify-machineinstrs=0` to fix this for now, but probably we need to check the return code in `PEIImpl::replaceFrameIndices` to stop codegen after the error?
```
// If this instruction has a FrameIndex operand, we need to
// use that target machine register info object to eliminate
// it.
TRI.eliminateFrameIndex(MI, SPAdj, i, RS);
```
https://github.com/llvm/llvm-project/pull/151860
More information about the llvm-commits
mailing list