[llvm] Fix "Cannot select" crash on bitcast between f64 and int vector types (PR #201509)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 23:24:23 PDT 2026


github-actions[bot] wrote:

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

* 135392 tests passed
* 3361 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.ThinLTO/X86/thinlto-savetemps-mod.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
rm -rf C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\thinlto-savetemps-mod.ll.tmp.dir
# executed command: rm -rf 'C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\thinlto-savetemps-mod.ll.tmp.dir'
# note: command had no output on stdout or stderr
# RUN: at line 3
split-file C:\_work\llvm-project\llvm-project\llvm\test\ThinLTO\X86\thinlto-savetemps-mod.ll C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\thinlto-savetemps-mod.ll.tmp.dir && cd C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\thinlto-savetemps-mod.ll.tmp.dir
# executed command: split-file 'C:\_work\llvm-project\llvm-project\llvm\test\ThinLTO\X86\thinlto-savetemps-mod.ll' 'C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\thinlto-savetemps-mod.ll.tmp.dir'
# note: command had no output on stdout or stderr
# executed command: cd 'C:\_work\llvm-project\llvm-project\build\test\ThinLTO\X86\Output\thinlto-savetemps-mod.ll.tmp.dir'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -thinlto-bc foo.ll -o foo.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -thinlto-bc foo.ll -o foo.o
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -thinlto-bc mul.ll -o mul.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -thinlto-bc mul.ll -o mul.o
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\llvm-lto2.exe run mul.o foo.o  -o libmy.so  -r mul.o,_Z3mulii,l -r foo.o,_Z3mulii,x -r foo.o,_Z3fool,p -save-temps -filter-save-modules=mul.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-lto2.exe' run mul.o foo.o -o libmy.so -r mul.o,_Z3mulii,l -r foo.o,_Z3mulii,x -r foo.o,_Z3fool,p -save-temps -filter-save-modules=mul.o
# note: command had no output on stdout or stderr
# RUN: at line 7
ls | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\ThinLTO\X86\thinlto-savetemps-mod.ll --implicit-check-not=libmy.so.2 --check-prefix=MUL
# executed command: ls
# 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\ThinLTO\X86\thinlto-savetemps-mod.ll' --implicit-check-not=libmy.so.2 --check-prefix=MUL
# note: command had no output on stdout or stderr
# RUN: at line 8
rm -f *.bc
# executed command: rm -f '*.bc'
# note: command had no output on stdout or stderr
# RUN: at line 9
c:\_work\llvm-project\llvm-project\build\bin\llvm-lto2.exe run mul.o foo.o  -o libmy.so  -r mul.o,_Z3mulii,l -r foo.o,_Z3mulii,x -r foo.o,_Z3fool,p -save-temps -filter-save-modules=mul.o -filter-save-modules=foo.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-lto2.exe' run mul.o foo.o -o libmy.so -r mul.o,_Z3mulii,l -r foo.o,_Z3mulii,x -r foo.o,_Z3fool,p -save-temps -filter-save-modules=mul.o -filter-save-modules=foo.o
# .---command stderr------------
# | failed to open libmy.so.2.4.opt.bc: invalid argument
# `-----------------------------
# 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/201509


More information about the llvm-commits mailing list