intel / intel/llvm

SPIRV Backend: SYCL :: Basic/multisource_spv_obj.cpp failing w/ cc38e4232c

Open
#21,791 0 comments 0 reactions 0 assignees View on GitHub
bug SPIR-V
Dominant language
LLVM
Stars
1.5k
Forks
854
Avg merge
3d 17h
Merged PRs (30d)
137

Description

### Describe the bug

Temporarily revert to unblock pulldown.
https://github.com/intel/llvm/pull/21723/commits/34bd4264f28df57f75fc0d6c428df40461d6c996

```
-- Testing: 2447 tests, 224 workers --
FAIL: SYCL :: Basic/multisource_spv_obj.cpp (333 of 2447)
******************** TEST 'SYCL :: Basic/multisource_spv_obj.cpp' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 12
/__w/llvm/llvm/toolchain/bin/clang++ -Werror -fsycl -fsycl-targets=spir64 -fsycl-use-spirv-backend-for-spirv-gen -Wno-unused-command-line-argument /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/multisource_spv_obj.cpp -fsycl-device-obj=spirv -c -o /__w/llvm/llvm/build-e2e/Basic/Output/multisource_spv_obj.cpp.tmp.kernel.o -DINIT_KERNEL -DCALC_KERNEL
# executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fsycl -fsycl-targets=spir64 -fsycl-use-spirv-backend-for-spirv-gen -Wno-unused-command-line-argument /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/multisource_spv_obj.cpp -fsycl-device-obj=spirv -c -o /__w/llvm/llvm/build-e2e/Basic/Output/multisource_spv_obj.cpp.tmp.kernel.o -DINIT_KERNEL -DCALC_KERNEL
# note: command had no output on stdout or stderr
# RUN: at line 13
/__w/llvm/llvm/toolchain/bin/clang++ -Werror -fsycl -fsycl-targets=spir64 -fsycl-use-spirv-backend-for-spirv-gen -Wno-unused-command-line-argument /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/multisource_spv_obj.cpp -fsycl-device-obj=spirv -c -o /__w/llvm/llvm/build-e2e/Basic/Output/multisource_spv_obj.cpp.tmp.main.o -DMAIN_APP
# executed command: /__w/llvm/llvm/toolchain/bin/clang++ -Werror -fsycl -fsycl-targets=spir64 -fsycl-use-spirv-backend-for-spirv-gen -Wno-unused-command-line-argument /__w/llvm/llvm/llvm/sycl/test-e2e/Basic/multisource_spv_obj.cpp -fsycl-device-obj=spirv -c -o /__w/llvm/llvm/build-e2e/Basic/Output/multisource_spv_obj.cpp.tmp.main.o -DMAIN_APP
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/intel/llvm/issues and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /__w/llvm/llvm/toolchain/bin/llc -o /tmp/lit-tmp-2truz8ct/multisource_spv_obj-e9c80c.spv -filetype=obj -mtriple=spirv64v1.6-unknown-unknown --avoid-spirv-capabilities=Shader --translator-compatibility-mode -spirv-ext=+SPV_EXT_relaxed_printf_string_address_space,+SPV_EXT_shader_atomic_float16_add,+SPV_EXT_shader_atomic_float_add,+SPV_EXT_shader_atomic_float_min_max,+SPV_INTEL_2d_block_io,+SPV_ALTERA_arbitrary_precision_integers,+SPV_INTEL_bfloat16_conversion,+SPV_INTEL_bindless_images,+SPV_INTEL_cache_controls,+SPV_INTEL_float_controls2,+SPV_INTEL_fp_max_error,+SPV_INTEL_function_pointers,+SPV_INTEL_inline_assembly,+SPV_INTEL_joint_matrix,+SPV_INTEL_long_composites,+SPV_INTEL_subgroups,+SPV_INTEL_tensor_float32_conversion,+SPV_INTEL_variable_length_array,+SPV_INTEL_memory_access_aliasing,+SPV_KHR_16bit_storage,+SPV_KHR_cooperative_matrix,+SPV_KHR_expect_assume,+SPV_KHR_float_controls,+SPV_KHR_linkonce_odr,+SPV_KHR_no_integer_wrap_decoration,+SPV_KHR_non_semantic_info,+SPV_KHR_shader_clock,+SPV_KHR_uniform_group_instructions /tmp/lit-tmp-2truz8ct/multisource_spv_obj-528e55.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 llc 0x00005d9480358842 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 66
# | 1 llc 0x00005d94803556c2
# | 2 libc.so.6 0x000073e95ce64330
```

### To reproduce

1. Include a code snippet that is as short as possible
2. Specify the command which should be used to compile the program
3. Specify the command which should be used to launch the program
4. 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.