| Issue |
55391
|
| Summary |
error in backend: Cannot select: 0x4cb5b20: f128 = bitcast 0x4ce65e0
|
| Labels |
|
| Assignees |
|
| Reporter |
PierreMarchand20
|
I am not very familiar with llvm, but trying to build [mpich](https://www.mpich.org) in a docker image with debian and clang, I got the following error:
```
CC src/mpi/datatype/typerep/src/lib_libmpi_la-typerep_yaksa_commit.lo
fatal error: error in backend: Cannot select: 0x4cb5b20: f128 = bitcast 0x4ce65e0
0x4ce65e0: v16i8 = X86ISD::PACKUS 0x4c9eb48, 0x4cb5cc0
0x4c9eb48: v8i16 = X86ISD::PSHUFHW 0x4ce6e68, Constant:i8<27>
0x4ce6e68: v8i16 = X86ISD::PSHUFLW 0x4c9f3d0, Constant:i8<27>
0x4c9f3d0: v8i16 = bitcast 0x4ce6e00
0x4ce6e00: v4i32 = X86ISD::PSHUFD 0x4cb5c58, Constant:i8<78>
0x4cb5c58: v4i32 = bitcast 0x4cb5230
0x4cb5230: v16i8 = X86ISD::UNPCKH 0x4ce6fa0, 0x4cbeac0
0x4ce6fa0: v16i8 = bitcast 0x4cb53d0
0x4cb53d0: v2i64,ch = load<(load 16 from %ir.176, align 1, !tbaa !26)> 0x4b7c4a8, 0x4ce6ed0, undef:i64
0x4cbeac0: v16i8 = bitcast 0x4c9e940
0x4c9e940: v4i32 = BUILD_VECTOR Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>
0x4cb5b88: i8 = Constant<78>
0x4cb5ec8: i8 = Constant<27>
0x4cb5ec8: i8 = Constant<27>
0x4cb5cc0: v8i16 = X86ISD::PSHUFHW 0x4ce6920, Constant:i8<27>
0x4ce6920: v8i16 = X86ISD::PSHUFLW 0x4c78280, Constant:i8<27>
0x4c78280: v8i16 = bitcast 0x4cbeed0
0x4cbeed0: v4i32 = X86ISD::PSHUFD 0x4c9e9a8, Constant:i8<78>
0x4c9e9a8: v4i32 = bitcast 0x4cbe9f0
0x4cbe9f0: v16i8 = X86ISD::UNPCKL 0x4ce6fa0, 0x4cbeac0
0x4ce6fa0: v16i8 = bitcast 0x4cb53d0
0x4cb53d0: v2i64,ch = load<(load 16 from %ir.176, align 1, !tbaa !26)> 0x4b7c4a8, 0x4ce6ed0, undef:i64
0x4cbeac0: v16i8 = bitcast 0x4c9e940
0x4c9e940: v4i32 = BUILD_VECTOR Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>
0x4cb5b88: i8 = Constant<78>
0x4cb5ec8: i8 = Constant<27>
0x4cb5ec8: i8 = Constant<27>
In function: MPIR_Typerep_unpack_external
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/typerep_yaksa_pack_external-3a129d.c
clang: note: diagnostic msg: /tmp/typerep_yaksa_pack_external-3a129d.sh
clang: note: diagnostic ms
```
I cannot reproduce on my laptop, but you can find the docker image [here](https://github.com/htool-ddm/htool_testing_environments/blob/master/debian/Dockerfile#L118-L146)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs