Closed
Description
Describe the bug
#18403
https://github.com/intel/llvm/actions/runs/15081117059/job/42398114254
[1721/1723] Linking CXX executable bin/test_bit_cast
FAILED: bin/test_bit_cast
: && /__w/llvm/llvm/toolchain/bin/clang++ -fpreview-breaking-changes -DSYCL2020_CONFORMANT_APIS -DSYCL2020_DISABLE_DEPRECATION_WARNINGS -D__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__ -ffp-model=precise tests/bit_cast/CMakeFiles/test_bit_cast_objects.dir/bit_cast_test_core.cpp.o tests/bit_cast/CMakeFiles/test_bit_cast_objects.dir/bit_cast_test_core_fp64.cpp.o tests/common/CMakeFiles/main_function_object.dir/main.cpp.o -o bin/test_bit_cast -flink-huge-device-code -fsycl -sycl-std=2020 -fno-sycl-id-queries-fit-in-int util/libutil.a oclmath/liboclmath.a vendor/Catch2/src/libCatch2.a && :
llvm-spirv: /__w/llvm/llvm/src/llvm-spirv/lib/SPIRV/SPIRVWriter.cpp:2701: SPIRV::SPIRVType* SPIRV::LLVMToSPIRVBase::mapType(llvm::Type*, SPIRV::SPIRVType*): Assertion `EmplaceStatus.second && "The type was already added to the map"' failed.
PLEASE submit a bug report to https://github.com/intel/llvm/issues and include the crash backtrace.
Stack dump:
0. Program arguments: /__w/llvm/llvm/toolchain/bin/llvm-spirv -o /tmp/bit_cast_test_core-4a141a-f58bad.spv -spirv-max-version=1.5 -spirv-debug-info-version=nonsemantic-shader-200 -spirv-allow-unknown-intrinsics=llvm.genx. -spirv-ext=-all,+SPV_EXT_shader_atomic_float_add,+SPV_EXT_shader_atomic_float_min_max,+SPV_KHR_no_integer_wrap_decoration,+SPV_KHR_float_controls,+SPV_KHR_expect_assume,+SPV_KHR_linkonce_odr,+SPV_INTEL_subgroups,+SPV_INTEL_media_block_io,+SPV_INTEL_device_side_avc_motion_estimation,+SPV_INTEL_fpga_loop_controls,+SPV_INTEL_unstructured_loop_controls,+SPV_INTEL_fpga_reg,+SPV_INTEL_blocking_pipes,+SPV_INTEL_function_pointers,+SPV_INTEL_kernel_attributes,+SPV_INTEL_io_pipes,+SPV_INTEL_inline_assembly,+SPV_INTEL_arbitrary_precision_integers,+SPV_INTEL_float_controls2,+SPV_INTEL_vector_compute,+SPV_INTEL_fast_composite,+SPV_INTEL_arbitrary_precision_fixed_point,+SPV_INTEL_arbitrary_precision_floating_point,+SPV_INTEL_variable_length_array,+SPV_INTEL_fp_fast_math_mode,+SPV_INTEL_long_composites,+SPV_INTEL_arithmetic_fence,+SPV_INTEL_global_variable_decorations,+SPV_INTEL_cache_controls,+SPV_INTEL_fpga_buffer_location,+SPV_INTEL_fpga_argument_interfaces,+SPV_INTEL_fpga_invocation_pipelining_attributes,+SPV_INTEL_fpga_latency_control,+SPV_KHR_shader_clock,+SPV_INTEL_bindless_images,+SPV_INTEL_task_sequence,+SPV_INTEL_bfloat16_conversion,+SPV_INTEL_joint_matrix,+SPV_INTEL_hw_thread_queries,+SPV_KHR_uniform_group_instructions,+SPV_INTEL_masked_gather_scatter,+SPV_INTEL_tensor_float32_conversion,+SPV_INTEL_optnone,+SPV_KHR_non_semantic_info,+SPV_KHR_cooperative_matrix,+SPV_EXT_shader_atomic_float16_add,+SPV_INTEL_fp_max_error /tmp/bit_cast_test_core-709e13_1.bc
1. Running pass "SPIRV::LLVMToSPIRVPass" on module "/tmp/bit_cast_test_core-709e13_1.bc"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 llvm-spirv 0x000057e5b310b9a0
1 llvm-spirv 0x000057e5b3108f9f
2 llvm-spirv 0x000057e5b31090ea
3 libc.so.6 0x00007febe2a05330
4 libc.so.6 0x00007febe2a5eb2c pthread_kill + 284
5 libc.so.6 0x00007febe2a0527e gsignal + 30
6 libc.so.6 0x00007febe29e88ff abort + 223
7 libc.so.6 0x00007febe29e881b
8 libc.so.6 0x00007febe29fb517
9 llvm-spirv 0x000057e5b2aad9e5
10 llvm-spirv 0x000057e5b2acfb24
11 llvm-spirv 0x000057e5b2acf616
12 llvm-spirv 0x000057e5b2ad270f
13 llvm-spirv 0x000057e5b2acf0b9
14 llvm-spirv 0x000057e5b2acb01c
15 llvm-spirv 0x000057e5b2acd3fd
16 llvm-spirv 0x000057e5b2adce2e
17 llvm-spirv 0x000057e5b2add870
18 llvm-spirv 0x000057e5b2addb70
19 llvm-spirv 0x000057e5b2addc86
20 llvm-spirv 0x000057e5b2fee9dd
21 llvm-spirv 0x000057e5b2ab0639
22 llvm-spirv 0x000057e5b299326d
23 llvm-spirv 0x000057e5b28e4dfd
24 libc.so.6 0x00007febe29ea1ca
25 libc.so.6 0x00007febe29ea28b __libc_start_main + 139
26 llvm-spirv 0x000057e5b298abf5
llvm-foreach: Aborted (core dumped)
clang++: error: llvm-spirv command failed with exit code 254 (use -v to see invocation)
clang version 21.0.0git (https://github.com/intel/llvm 6a4665ef4c4b429076c589b923da9b9d5f728739)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /__w/llvm/llvm/toolchain/bin
Build config: +assertions
clang++: note: diagnostic msg: Error generating preprocessed source(s).
To reproduce
- Include a code snippet that is as short as possible
- Specify the command which should be used to compile the program
- Specify the command which should be used to launch the program
- Indicate what is wrong and what was expected
Environment
- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. Intel GPU]
- DPC++ version: [e.g. commit hash or output of
clang++ --version
] - Dependencies version: [e.g. the output of
sycl-ls --verbose
]
Additional context
No response