[llvm] [VPlan] Move call widening decision to VPlan. (NFCI) (PR #195518)
via llvm-commits
llvm-commits at lists.llvm.org
Sun May 3 05:18:22 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 134121 tests passed
* 3223 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/WebAssembly/partial-reduce-accumulate.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -mattr=+simd128 -passes=loop-vectorize C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\partial-reduce-accumulate.ll | c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=wasm32 -mattr=+simd128 -verify-machineinstrs -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\partial-reduce-accumulate.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -mattr=+simd128 -passes=loop-vectorize 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\partial-reduce-accumulate.ll'
# .---command stderr------------
# | Assertion failed: ResTy == inferScalarType(R->getOperand(1)) && "types for both operands must match for binary op", file C:\_work\llvm-project\llvm-project\llvm\lib\Transforms\Vectorize\VPlanAnalysis.cpp, line 170
# | 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 -mattr=+simd128 -passes=loop-vectorize C:\\_work\\llvm-project\\llvm-project\\llvm\\test\\CodeGen\\WebAssembly\\partial-reduce-accumulate.ll
# | 1. Running pass "function(loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>)" on module "C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\partial-reduce-accumulate.ll"
# | 2. Running pass "loop-vectorize<no-interleave-forced-only;no-vectorize-forced-only;>" on function "accumulate_max_u8_u8"
# | Exception Code: 0xC000001D
# | #0 0x00007ff68091d666 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x94d666)
# | #1 0x00007fff3d59bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007fff3d59cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007fff3d59e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# | #4 0x00007fff3d59e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# | #5 0x00007ff6844c14d2 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x44f14d2)
# | #6 0x00007ff6844c02ec (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x44f02ec)
# | #7 0x00007ff68456a11c (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x459a11c)
# | #8 0x00007ff6844a8646 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x44d8646)
# | #9 0x00007ff68453c295 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x456c295)
# | #10 0x00007ff682a8291a (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2ab291a)
# | #11 0x00007ff682a75a3f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2aa5a3f)
# | #12 0x00007ff682a74cab (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2aa4cab)
# | #13 0x00007ff682a87f9f (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2ab7f9f)
# | #14 0x00007ff682a93312 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2ac3312)
# | #15 0x00007ff682a93f70 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x2ac3f70)
# | #16 0x00007ff680e6aa9d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe9aa9d)
# | #17 0x00007ff680e6dff6 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe9dff6)
# | #18 0x00007ff680e69a2d (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0xe99a2d)
# | #19 0x00007ff680300f8c (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x330f8c)
# | #20 0x00007ff67ffd6fb7 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x6fb7)
# | #21 0x00007ff67ffd1025 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x1025)
# | #22 0x00007ff684b5ab80 (c:\_work\llvm-project\llvm-project\build\bin\opt.exe+0x4b8ab80)
# | #23 0x00007fff3e294cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #24 0x00007fff4cbbedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=wasm32 -mattr=+simd128 -verify-machineinstrs -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\CodeGen\WebAssembly\partial-reduce-accumulate.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\partial-reduce-accumulate.ll:7:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: accumulate_add_u8_u8:
# | ^
# | <stdin>:1:1: note: scanning from here
# | .file "<stdin>"
# | ^
# | <stdin>:15:6: note: possible intended match here
# | .ascii "multivalue"
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\WebAssembly\partial-reduce-accumulate.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: .file "<stdin>"
# | label:7'0 X~~~~~~~~~~~~~~~~ error: no match found
# | 2: .section .custom_section.target_features,"",@
# | label:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: .int8 9
# | label:7'0 ~~~~~~~~~
# | 4: .int8 43
# | label:7'0 ~~~~~~~~~~
# | 5: .int8 11
# | label:7'0 ~~~~~~~~~~
# | 6: .ascii "bulk-memory"
# | label:7'0 ~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 10: .int8 43
# | label:7'0 ~~~~~~~~~~
# | 11: .int8 22
# | label:7'0 ~~~~~~~~~~
# | 12: .ascii "call-indirect-overlong"
# | label:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 13: .int8 43
# | label:7'0 ~~~~~~~~~~
# | 14: .int8 10
# | label:7'0 ~~~~~~~~~~
# | 15: .ascii "multivalue"
# | label:7'0 ~~~~~~~~~~~~~~~~~~~~~
# | label:7'1 ? possible intended match
# | 16: .int8 43
# | label:7'0 ~~~~~~~~~~
# | 17: .int8 15
# | label:7'0 ~~~~~~~~~~
# | 18: .ascii "mutable-globals"
# | label:7'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 19: .int8 43
# | label:7'0 ~~~~~~~~~~
# | 20: .int8 19
# | label:7'0 ~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/195518
More information about the llvm-commits
mailing list