[llvm] [X86] Lower scalar integer div/rem to FP division (PR #216589)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 11:00:41 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 140146 tests passed
* 3723 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.DebugInfo/X86/dbg-prolog-end-backup-loc.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\X86\dbg-prolog-end-backup-loc.ll -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\X86\dbg-prolog-end-backup-loc.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\X86\dbg-prolog-end-backup-loc.ll' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\X86\dbg-prolog-end-backup-loc.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\X86\dbg-prolog-end-backup-loc.ll:28:10: error: CHECK: expected string not found in input
# | ; CHECK: movl %edi, %edx
# | ^
# | <stdin>:12:12: note: scanning from here
# | .loc 0 2 0 prologue_end # foo.c:2:0
# | ^
# | <stdin>:13:2: note: possible intended match here
# | addl %esi, %edi
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\X86\dbg-prolog-end-backup-loc.ll:40:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: foo:
# | ^
# | <stdin>:15:9: note: scanning from here
# | # %bb.1: # %while.body.preheader
# | ^
# | <stdin>:23:25: note: possible intended match here
# | .loc 0 5 9 is_stmt 1 # foo.c:5:9
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\X86\dbg-prolog-end-backup-loc.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 7: .type foo, at function
# | 8: foo: # @foo
# | 9: .Lfunc_begin0:
# | 10: .cfi_startproc
# | 11: # %bb.0: # %entry
# | 12: .loc 0 2 0 prologue_end # foo.c:2:0
# | check:28'0 { search range start (exclusive)
# | check:28'1 error: no match found in search range
# | 13: addl %esi, %edi
# | check:28'2 ? possible intended match
# | 14: je .LBB0_4
# | 15: # %bb.1: # %while.body.preheader
# | check:28'3 } search range end (exclusive)
# | label:40'0 { search range start (exclusive)
# | label:40'1 error: no match found in search range
# | 16: movl glob(%rip), %eax
# | 17: .loc 0 0 0 is_stmt 0 # :0:0
# | 18: .Ltmp0:
# | 19: .p2align 4
# | 20: .LBB0_2: # %while.body
# | 21: # =>This Inner Loop Header: Depth=1
# | 22: .Ltmp1:
# | 23: .loc 0 5 9 is_stmt 1 # foo.c:5:9
# | label:40'2 ? possible intended match
# | 24: decl %eax
# | 25: .loc 0 6 9 # foo.c:6:9
# | 26: xorps %xmm0, %xmm0
# | 27: cvtsi2sd %edi, %xmm0
# | 28: xorps %xmm1, %xmm1
# | .
# | .
# | .
# | 215: .quad glob
# | 216: .Ldebug_addr_end0:
# | 217: .ident "clang"
# | 218: .section ".note.GNU-stack","", at progbits
# | 219: .section .debug_line,"", at progbits
# | 220: .Lline_table_start0:
# | label:40'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### Clang
<details>
<summary>Clang.ClangScanDeps/modules-implicit-dot-private.m</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
rm -rf C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\modules-implicit-dot-private.m.tmp && mkdir C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\modules-implicit-dot-private.m.tmp
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\modules-implicit-dot-private.m.tmp'
# note: command had no output on stdout or stderr
# executed command: mkdir 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\modules-implicit-dot-private.m.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 5
split-file C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\modules-implicit-dot-private.m C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\modules-implicit-dot-private.m.tmp
# executed command: split-file 'C:\_work\llvm-project\llvm-project\clang\test\ClangScanDeps\modules-implicit-dot-private.m' 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\modules-implicit-dot-private.m.tmp'
# .---command stderr------------
# | split-file: error: C:\_work\llvm-project\llvm-project\build\tools\clang\test\ClangScanDeps\Output\modules-implicit-dot-private.m.tmp: permission denied
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/216589
More information about the llvm-commits
mailing list