[llvm] [Support][APint] Optimize fallback case in APInt::reverseBits (PR #189291)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 30 07:55:09 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 132851 tests passed
* 3037 tests skipped
* 15 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.SemaCXX/builtin-bitreverseg.cpp</summary>
```
Exit Code: 70
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -fsyntax-only -verify C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\builtin-bitreverseg.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -fsyntax-only -verify 'C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\builtin-bitreverseg.cpp'
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -cc1 -internal-isystem C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include -nostdsysteminc -fsyntax-only -verify C:\\_work\\llvm-project\\llvm-project\\clang\\test\\SemaCXX\\builtin-bitreverseg.cpp
# | 1. C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\builtin-bitreverseg.cpp:227:3: current parser token 'static_assert'
# | 2. C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\builtin-bitreverseg.cpp:225:20: parsing function body 'test_bitint'
# | 3. C:\_work\llvm-project\llvm-project\clang\test\SemaCXX\builtin-bitreverseg.cpp:225:20: in compound statement ('{}')
# | Exception Code: 0xC0000005
# `-----------------------------
# error: command failed with exit status: 70
--
```
</details>
### LLVM
<details>
<summary>LLVM.Analysis/ValueTracking/known-bits.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=instsimplify < C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-bits.ll -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-bits.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -S
# .---command stderr------------
# | 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\\opt.exe -passes=instsimplify -S
# | 1. Running pass "function(instsimplify)" on module "<stdin>"
# | 2. Running pass "instsimplify" on function "vec_reverse_known_bits"
# | Exception Code: 0xC0000005
# | #0 0x00007ff78f7e18b0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x9418b0)
# | #1 0x00007ff78fb908c7 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcf08c7)
# | #2 0x00007ff78fb61b95 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc1b95)
# | #3 0x00007ff78fb60d5a (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc0d5a)
# | #4 0x00007ff78fb61fbb (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc1fbb)
# | #5 0x00007ff78fb0fc0e (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc6fc0e)
# | #6 0x00007ff78fb1e892 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7e892)
# | #7 0x00007ff78fb1f8fd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7f8fd)
# | #8 0x00007ff78f58dabe (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6edabe)
# | #9 0x00007ff78f58d4ea (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6ed4ea)
# | #10 0x00007ff78fd03acd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe63acd)
# | #11 0x00007ff78fd07026 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe67026)
# | #12 0x00007ff78fd02a5d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe62a5d)
# | #13 0x00007ff78f1d50ec (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x3350ec)
# | #14 0x00007ff78eea6cd0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6cd0)
# | #15 0x00007ff78eea1025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #16 0x00007ff7938f53a0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4a553a0)
# | #17 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #18 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-bits.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\Analysis\ValueTracking\known-bits.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Analysis/ValueTracking/known-fpclass.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=instsimplify < C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-fpclass.ll -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-fpclass.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -S
# .---command stderr------------
# | 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\\opt.exe -passes=instsimplify -S
# | 1. Running pass "function(instsimplify)" on module "<stdin>"
# | 2. Running pass "instsimplify" on function "vector_reverse_fpclass"
# | Exception Code: 0xC0000005
# | #0 0x00007ff78f7e18b0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x9418b0)
# | #1 0x00007ff78fb70ca1 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcd0ca1)
# | #2 0x00007ff78fb728c4 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcd28c4)
# | #3 0x00007ff78fb7279a (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcd279a)
# | #4 0x00007ff78fb2f01f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc8f01f)
# | #5 0x00007ff78fb12885 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc72885)
# | #6 0x00007ff78fb1f2a1 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7f2a1)
# | #7 0x00007ff78fb1f8fd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7f8fd)
# | #8 0x00007ff78f58dabe (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6edabe)
# | #9 0x00007ff78f58d4ea (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6ed4ea)
# | #10 0x00007ff78fd03acd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe63acd)
# | #11 0x00007ff78fd07026 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe67026)
# | #12 0x00007ff78fd02a5d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe62a5d)
# | #13 0x00007ff78f1d50ec (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x3350ec)
# | #14 0x00007ff78eea6cd0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6cd0)
# | #15 0x00007ff78eea1025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #16 0x00007ff7938f53a0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4a553a0)
# | #17 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #18 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-fpclass.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\Analysis\ValueTracking\known-fpclass.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Analysis/ValueTracking/known-non-zero.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=instsimplify < C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-non-zero.ll -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-non-zero.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -S
# .---command stderr------------
# | 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\\opt.exe -passes=instsimplify -S
# | 1. Running pass "function(instsimplify)" on module "<stdin>"
# | 2. Running pass "instsimplify" on function "vec_reverse_non_zero"
# | Exception Code: 0xC0000005
# | #0 0x00007ff78f7e18b0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x9418b0)
# | #1 0x00007ff78fb6c6e6 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xccc6e6)
# | #2 0x00007ff78fb63f11 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc3f11)
# | #3 0x00007ff78fb0f82e (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc6f82e)
# | #4 0x00007ff78fb1e892 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7e892)
# | #5 0x00007ff78fb1f8fd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7f8fd)
# | #6 0x00007ff78f58dabe (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6edabe)
# | #7 0x00007ff78f58d4ea (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6ed4ea)
# | #8 0x00007ff78fd03acd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe63acd)
# | #9 0x00007ff78fd07026 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe67026)
# | #10 0x00007ff78fd02a5d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe62a5d)
# | #11 0x00007ff78f1d50ec (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x3350ec)
# | #12 0x00007ff78eea6cd0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6cd0)
# | #13 0x00007ff78eea1025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #14 0x00007ff7938f53a0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4a553a0)
# | #15 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #16 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Analysis\ValueTracking\known-non-zero.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\Analysis\ValueTracking\known-non-zero.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/clmulh.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=riscv32 -verify-machineinstrs < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\clmulh.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\clmulh.ll --check-prefixes=CHECK,CHECK-I,RV32I
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=riscv32 -verify-machineinstrs
# .---command stderr------------
# | 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=riscv32 -verify-machineinstrs
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'RISC-V DAG->DAG Pattern Instruction Selection' on function '@clmulh_i4_bitreverse'
# | Exception Code: 0xC0000005
# | #0 0x00007ff750bacb90 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x72cb90)
# | #1 0x00007ff750e213b9 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x9a13b9)
# | #2 0x00007ff75209631c (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c1631c)
# | #3 0x00007ff752093e11 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c13e11)
# | #4 0x00007ff7520962ee (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c162ee)
# | #5 0x00007ff75209314b (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c1314b)
# | #6 0x00007ff752091d9a (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c11d9a)
# | #7 0x00007ff7520918bf (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c118bf)
# | #8 0x00007ff753260031 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x2de0031)
# | #9 0x00007ff75323d010 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x2dbd010)
# | #10 0x00007ff75323af23 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x2dbaf23)
# | #11 0x00007ff750b33a49 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6b3a49)
# | #12 0x00007ff750b33350 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6b3350)
# | #13 0x00007ff750b32916 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6b2916)
# | #14 0x00007ff750b2e80a (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6ae80a)
# | #15 0x00007ff750b2b8b4 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6ab8b4)
# | #16 0x00007ff750ed5eb3 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0xa55eb3)
# | #17 0x00007ff75093fbc9 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4bfbc9)
# | #18 0x00007ff75094865d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4c865d)
# | #19 0x00007ff750940848 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4c0848)
# | #20 0x00007ff7504873e2 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x73e2)
# | #21 0x00007ff754cca0a0 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x484a0a0)
# | #22 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #23 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\RISCV\clmulh.ll' --check-prefixes=CHECK,CHECK-I,RV32I
# .---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\RISCV\clmulh.ll --check-prefixes=CHECK,CHECK-I,RV32I
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/X86/bitreverse.ll</summary>
```
Exit Code: 2
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\CodeGen\X86\bitreverse.ll -mtriple=i686-unknown | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\bitreverse.ll --check-prefixes=CHECK,X86
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=i686-unknown
# .---command stderr------------
# | 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=i686-unknown
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@fold_i24'
# | Exception Code: 0xC0000005
# | #0 0x00007ff750bacb90 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x72cb90)
# | #1 0x00007ff7520ab9bf (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c2b9bf)
# | #2 0x00007ff7520a7fa4 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c27fa4)
# | #3 0x00007ff75207ff5d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1bfff5d)
# | #4 0x00007ff75213ecf5 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1cbecf5)
# | #5 0x00007ff7520fdf80 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1c7df80)
# | #6 0x00007ff750b3316b (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6b316b)
# | #7 0x00007ff750b32916 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6b2916)
# | #8 0x00007ff750b2e80a (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6ae80a)
# | #9 0x00007ff7522eca8c (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1e6ca8c)
# | #10 0x00007ff750b2b8b4 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x6ab8b4)
# | #11 0x00007ff750ed5eb3 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0xa55eb3)
# | #12 0x00007ff75093fbc9 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4bfbc9)
# | #13 0x00007ff75094865d (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4c865d)
# | #14 0x00007ff750940848 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4c0848)
# | #15 0x00007ff7504873e2 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x73e2)
# | #16 0x00007ff754cca0a0 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x484a0a0)
# | #17 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #18 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\bitreverse.ll' --check-prefixes=CHECK,X86
# .---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\bitreverse.ll --check-prefixes=CHECK,X86
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/InstCombine/vector-reverse.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\vector-reverse.ll -passes=instcombine -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\vector-reverse.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instcombine -S
# .---command stderr------------
# | 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\\opt.exe -passes=instcombine -S
# | 1. Running pass "function(instcombine<max-iterations=1;verify-fixpoint>)" on module "<stdin>"
# | 2. Running pass "instcombine<max-iterations=1;verify-fixpoint>" on function "binop_reverse_3"
# | Exception Code: 0xC0000005
# | #0 0x00007ff78f7e18b0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x9418b0)
# | #1 0x00007ff78fb908c7 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcf08c7)
# | #2 0x00007ff78fb61b95 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc1b95)
# | #3 0x00007ff78fb60d5a (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc0d5a)
# | #4 0x00007ff78fb61fbb (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc1fbb)
# | #5 0x00007ff78f0e9033 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x249033)
# | #6 0x00007ff78fb62329 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc2329)
# | #7 0x00007ff78fc1bc0c (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xd7bc0c)
# | #8 0x00007ff78f0e1053 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x241053)
# | #9 0x00007ff78f0e5498 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x245498)
# | #10 0x00007ff78f0e485f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x24485f)
# | #11 0x00007ff78fd03acd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe63acd)
# | #12 0x00007ff78fd07026 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe67026)
# | #13 0x00007ff78fd02a5d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe62a5d)
# | #14 0x00007ff78f1d50ec (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x3350ec)
# | #15 0x00007ff78eea6cd0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6cd0)
# | #16 0x00007ff78eea1025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #17 0x00007ff7938f53a0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4a553a0)
# | #18 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #19 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstCombine\vector-reverse.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\Transforms\InstCombine\vector-reverse.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/ConstProp/bitreverse.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\ConstProp\bitreverse.ll -passes=instsimplify -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\ConstProp\bitreverse.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -S
# 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\Transforms\InstSimplify\ConstProp\bitreverse.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\ConstProp\bitreverse.ll:31:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: ret i80 23777929115895377691656
# | ^
# | <stdin>:16:18: note: scanning from here
# | define i80 @Z() {
# | ^
# | <stdin>:17:2: note: possible intended match here
# | ret i80 23777853111011612034313
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\ConstProp\bitreverse.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 11:
# | 12: define i64 @Y() {
# | 13: ret i64 -9223372036854775808
# | 14: }
# | 15:
# | 16: define i80 @Z() {
# | next:31'0 X error: no match found
# | 17: ret i80 23777853111011612034313
# | next:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:31'1 ? possible intended match
# | 18: }
# | next:31'0 ~~
# | 19:
# | next:31'0 ~
# | 20: define <4 x i32> @bitreverse_splat_v4i32() {
# | next:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21: ret <4 x i32> splat (i32 -2147483648)
# | 22: }
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.Transforms/InstSimplify/bitreverse-fold.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\opt.exe < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\bitreverse-fold.ll -passes=instsimplify -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\bitreverse-fold.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=instsimplify -S
# .---command stderr------------
# | 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\\opt.exe -passes=instsimplify -S
# | 1. Running pass "function(instsimplify)" on module "<stdin>"
# | 2. Running pass "instsimplify" on function "reverse_false_i1"
# | Exception Code: 0xC0000005
# | #0 0x00007ff78f7e18b0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x9418b0)
# | #1 0x00007ff78fb475d5 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xca75d5)
# | #2 0x00007ff78fb42f53 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xca2f53)
# | #3 0x00007ff78fb40462 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xca0462)
# | #4 0x00007ff78fb1b9db (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7b9db)
# | #5 0x00007ff78fb1b745 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7b745)
# | #6 0x00007ff78fb1e23f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7e23f)
# | #7 0x00007ff78fb1f8fd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xc7f8fd)
# | #8 0x00007ff78f58dabe (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6edabe)
# | #9 0x00007ff78f58d4ea (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6ed4ea)
# | #10 0x00007ff78fd03acd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe63acd)
# | #11 0x00007ff78fd07026 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe67026)
# | #12 0x00007ff78fd02a5d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe62a5d)
# | #13 0x00007ff78f1d50ec (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x3350ec)
# | #14 0x00007ff78eea6cd0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6cd0)
# | #15 0x00007ff78eea1025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #16 0x00007ff7938f53a0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4a553a0)
# | #17 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #18 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\InstSimplify\bitreverse-fold.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\Transforms\InstSimplify\bitreverse-fold.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -mtriple=aarch64-none-linux-gnu -S -passes=loop-vectorize,instcombine -force-vector-width=4 -force-vector-interleave=1 -enable-interleaved-mem-accesses=true -mattr=+sve -scalable-vectorization=on -runtime-memory-check-threshold=24 < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\AArch64\sve-interleaved-accesses.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\AArch64\sve-interleaved-accesses.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -mtriple=aarch64-none-linux-gnu -S -passes=loop-vectorize,instcombine -force-vector-width=4 -force-vector-interleave=1 -enable-interleaved-mem-accesses=true -mattr=+sve -scalable-vectorization=on -runtime-memory-check-threshold=24
# .---command stderr------------
# | 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\\opt.exe -mtriple=aarch64-none-linux-gnu -S -passes=loop-vectorize,instcombine -force-vector-width=4 -force-vector-interleave=1 -enable-interleaved-mem-accesses=true -mattr=+sve -scalable-vectorization=on -runtime-memory-check-threshold=24
# | 1. Running pass "function(loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>,instcombine<max-iterations=1;verify-fixpoint>)" on module "<stdin>"
# | 2. Running pass "instcombine<max-iterations=1;verify-fixpoint>" on function "test_reversed_load2_store2"
# | Exception Code: 0xC0000005
# | #0 0x00007ff78f7e18b0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x9418b0)
# | #1 0x00007ff78fb908c7 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcf08c7)
# | #2 0x00007ff78fb61b95 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc1b95)
# | #3 0x00007ff78fb60d5a (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc0d5a)
# | #4 0x00007ff78fb61fbb (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc1fbb)
# | #5 0x00007ff78f0e9033 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x249033)
# | #6 0x00007ff78fb6233d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xcc233d)
# | #7 0x00007ff78fc1bc0c (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xd7bc0c)
# | #8 0x00007ff78f0e1053 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x241053)
# | #9 0x00007ff78f0e5498 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x245498)
# | #10 0x00007ff78f0e485f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x24485f)
# | #11 0x00007ff78fd03acd (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe63acd)
# | #12 0x00007ff78fd07026 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe67026)
# | #13 0x00007ff78fd02a5d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe62a5d)
# | #14 0x00007ff78f1d50ec (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x3350ec)
# | #15 0x00007ff78eea6cd0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6cd0)
# | #16 0x00007ff78eea1025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #17 0x00007ff7938f53a0 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4a553a0)
# | #18 0x00007ff825d64cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #19 0x00007ff83029edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\LoopVectorize\AArch64\sve-interleaved-accesses.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\Transforms\LoopVectorize\AArch64\sve-interleaved-accesses.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
### LLVM-Unit
<details>
<summary>LLVM-Unit.ADT/_/ADTTests_exe/APIntTest/clmulh</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\unittests\ADT\.\ADTTests.exe --gtest_filter=APIntTest.clmulh
--
unknown file
SEH exception with code 0x3221225477 thrown in the test body.
Stack trace:
```
</details>
<details>
<summary>LLVM-Unit.ADT/_/ADTTests_exe/APIntTest/clmulr</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\unittests\ADT\.\ADTTests.exe --gtest_filter=APIntTest.clmulr
--
unknown file
SEH exception with code 0x3221225477 thrown in the test body.
Stack trace:
```
</details>
<details>
<summary>LLVM-Unit.ADT/_/ADTTests_exe/APIntTest/reverseBits</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\unittests\ADT\.\ADTTests.exe --gtest_filter=APIntTest.reverseBits
--
unknown file
SEH exception with code 0x3221225477 thrown in the test body.
Stack trace:
```
</details>
<details>
<summary>LLVM-Unit.IR/_/IRTests_exe/DemandedBitsTest/Add</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\unittests\IR\.\IRTests.exe --gtest_filter=DemandedBitsTest.Add
--
unknown file
SEH exception with code 0x3221225477 thrown in the test body.
Stack trace:
```
</details>
<details>
<summary>LLVM-Unit.IR/_/IRTests_exe/DemandedBitsTest/Sub</summary>
```
Script:
--
C:\_work\llvm-project\llvm-project\build\unittests\IR\.\IRTests.exe --gtest_filter=DemandedBitsTest.Sub
--
unknown file
SEH exception with code 0x3221225477 thrown in the test body.
Stack trace:
```
</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/189291
More information about the llvm-commits
mailing list