[llvm] [X86] Update large-displacement.ll (PR #151860)
Abhishek Kaushik via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 3 04:03:03 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:
The error is coming from `X86RegisterInfo.cpp`
```
// ... for 32-bit targets, this is a bug!
if (!Is64Bit && !FitsIn32Bits)
MI.emitGenericError(("64-bit offset calculated but target is 32-bit"));
```
https://github.com/llvm/llvm-project/pull/151860
More information about the llvm-commits
mailing list