[llvm] [X86] Correct 32-bit immediate assertion and fix 64-bit lowering for huge frame offsets (PR #123872)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 3 03:21:30 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/23760
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/X86/large-displacements.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
not /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/X86/large-displacements.ll -mtriple=i686 -filetype=null 2>&1 | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/X86/large-displacements.ll -check-prefix=ERR-i686 # RUN: at line 1
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/X86/large-displacements.ll -check-prefix=ERR-i686
+ not /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=i686 -filetype=null
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/X86/large-displacements.ll:46:13: error: ERR-i686: expected string not found in input
; ERR-i686: error: <unknown>:0:0: 64-bit offset calculated but target is 32-bit
^
<stdin>:1:68: note: scanning from here
error: <unknown>:0:0: 64-bit offset calculated but target is 32-bit
^
<stdin>:2:1: note: possible intended match here
warning: <unknown>:0:0: stack frame size (4294967324) exceeds limit (4294967295) in function 'main'
^
Input file: <stdin>
Check file: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/X86/large-displacements.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: error: <unknown>:0:0: 64-bit offset calculated but target is 32-bit
check:46'0 X error: no match found
2: warning: <unknown>:0:0: stack frame size (4294967324) exceeds limit (4294967295) in function 'main'
check:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:46'1 ? possible intended match
3:
check:46'0 ~
4: # After Prologue/Epilogue Insertion & Frame Finalization
check:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: # Machine code for function main: NoPHIs, TracksLiveness, NoVRegs, TiedOpsRewritten, TracksDebugUserValues
check:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: Frame Objects:
check:46'0 ~~~~~~~~~~~~~~~
7: fi#-1: size=4, align=4, fixed, at location [SP-4]
check:46'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/123872
More information about the llvm-commits
mailing list