[clang] [llvm] [X86] Support reserving EDI and ESI on x86-32 (PR #186123)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 07:44:08 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 132202 tests passed
* 3002 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/X86/reserveDISIreg.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\reserveDISIreg.ll -mtriple=i386-unknown-linux-gnu -verify-machineinstrs | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\reserveDISIreg.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=i386-unknown-linux-gnu -verify-machineinstrs
# .---command stderr------------
# | Error: Super register $rdi of reserved register $di is not reserved.
# | Assertion failed: checkAllSuperRegsMarked(Reserved, {X86::SIL, X86::DIL, X86::BPL, X86::SPL, X86::SIH, X86::DIH, X86::BPH, X86::SPH}), file C:\_work\llvm-project\llvm-project\llvm\lib\Target\X86\X86RegisterInfo.cpp, line 623
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\llc.exe -mtriple=i386-unknown-linux-gnu -verify-machineinstrs
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Finalize ISel and expand pseudo-instructions' on function '@tedi'
# | Exception Code: 0xC000001D
# |  #0 0x00007ff748d3fe06 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x2cffe06)
# |  #1 0x00007fff2aa6bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007fff2aa6cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007fff2aa6e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007fff2aa6e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff747de393d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1da393d)
# |  #6 0x00007ff7478e576d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x18a576d)
# |  #7 0x00007ff7472fce08 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x12bce08)
# |  #8 0x00007ff7472fd0fd (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x12bd0fd)
# |  #9 0x00007ff746a8abb3 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0xa4abb3)
# | #10 0x00007ff7464fa859 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4ba859)
# | #11 0x00007ff7465032ed (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4c32ed)
# | #12 0x00007ff7464fb4d8 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4bb4d8)
# | #13 0x00007ff746047908 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x7908)
# | #14 0x00007ff746044b76 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b76)
# | #15 0x00007ff74a819a50 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x47d9a50)
# | #16 0x00007fff334d4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #17 0x00007fff3f43edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\reserveDISIreg.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\reserveDISIreg.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/186123


More information about the cfe-commits mailing list