[clang] [llvm] [SPIRV] Add support for the `SPV_EXT_long_vector` extension (PR #210279)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 03:14:12 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/43256

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/SPIRV/basic_float_types.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/buildbot/worker/lld-x86_64/build/bin/llc -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_KHR_bfloat16 /home/buildbot/worker/lld-x86_64/llvm-project/llvm/test/CodeGen/SPIRV/basic_float_types.ll -o - | /home/buildbot/worker/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/lld-x86_64/llvm-project/llvm/test/CodeGen/SPIRV/basic_float_types.ll
# executed command: /home/buildbot/worker/lld-x86_64/build/bin/llc -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_KHR_bfloat16 /home/buildbot/worker/lld-x86_64/llvm-project/llvm/test/CodeGen/SPIRV/basic_float_types.ll -o -
# .---command stderr------------
# | 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: /home/buildbot/worker/lld-x86_64/build/bin/llc -O0 -mtriple=spirv32-unknown-unknown --spirv-ext=+SPV_KHR_bfloat16 /home/buildbot/worker/lld-x86_64/llvm-project/llvm/test/CodeGen/SPIRV/basic_float_types.ll -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/buildbot/worker/lld-x86_64/llvm-project/llvm/test/CodeGen/SPIRV/basic_float_types.ll'.
# | 2.	Running pass 'SPIRV pre legalizer' on function '@main'
# |  #0 0x00005dde5431cf01 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x4106f01)
# |  #1 0x00005dde5431980c llvm::sys::RunSignalHandlers() (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x410380c)
# |  #2 0x00005dde5431996e SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# |  #3 0x00007775f596e330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00005dde51ef0f6f llvm::SPIRVGlobalRegistry::createConstOrTypeAtFunctionEntry(llvm::MachineIRBuilder&, std::function<llvm::MachineInstr* (llvm::MachineIRBuilder&)>) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x1cdaf6f)
# |  #5 0x00005dde51ef192f llvm::SPIRVGlobalRegistry::getOpTypeVectorImpl(unsigned int, llvm::SPIRVTypeInst, llvm::MachineIRBuilder&, bool) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x1cdb92f)
# |  #6 0x00005dde51ef7c94 llvm::SPIRVGlobalRegistry::restOfCreateSPIRVType(llvm::Type const*, llvm::MachineIRBuilder&, llvm::SPIRV::AccessQualifier::AccessQualifier, bool, bool) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x1ce1c94)
# |  #7 0x00005dde51ef8981 llvm::SPIRVGlobalRegistry::getOrCreateSPIRVType(llvm::Type const*, llvm::MachineIRBuilder&, llvm::SPIRV::AccessQualifier::AccessQualifier, bool, bool) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x1ce2981)
# |  #8 0x00005dde51ef90a0 llvm::SPIRVGlobalRegistry::getOrCreateSPIRVPointerType(llvm::Type const*, llvm::MachineIRBuilder&, llvm::SPIRV::StorageClass::StorageClass, bool) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x1ce30a0)
# |  #9 0x00005dde51ef9451 llvm::SPIRVGlobalRegistry::getOrCreateSPIRVPointerType(llvm::Type const*, llvm::MachineInstr&, llvm::SPIRV::StorageClass::StorageClass, bool) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x1ce3451)
# | #10 0x00005dde51f6e7cd generateAssignInstrs(llvm::MachineFunction&, llvm::SPIRVGlobalRegistry*, llvm::MachineIRBuilder, llvm::DenseMap<llvm::MachineInstr*, llvm::Type*, llvm::DenseMapInfo<llvm::MachineInstr*, void>, llvm::detail::DenseMapPair<llvm::MachineInstr*, llvm::Type*>>&) SPIRVPreLegalizer.cpp:0:0
# | #11 0x00005dde51f711ce (anonymous namespace)::SPIRVPreLegalizer::runOnMachineFunction(llvm::MachineFunction&) SPIRVPreLegalizer.cpp:0:0
# | #12 0x00005dde52fe0b14 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x2dcab14)
# | #13 0x00005dde5365f2f9 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x34492f9)
# | #14 0x00005dde5365f711 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x3449711)
# | #15 0x00005dde536600f1 (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) LegacyPassManager.cpp:0:0
# | #16 0x00005dde53660814 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x344a814)
# | #17 0x00005dde5063696d compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) llc.cpp:0:0
# | #18 0x00005dde50576c7d main (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x360c7d)
# | #19 0x00007775f59531ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #20 0x00007775f595328b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #21 0x00005dde5062a4a5 _start (/home/buildbot/worker/lld-x86_64/build/bin/llc+0x4144a5)
# `-----------------------------
# error: command failed with exit status: -11
# executed command: /home/buildbot/worker/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/lld-x86_64/llvm-project/llvm/test/CodeGen/SPIRV/basic_float_types.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/buildbot/worker/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/lld-x86_64/llvm-project/llvm/test/CodeGen/SPIRV/basic_float_types.ll
# `-----------------------------
# error: command failed with exit status: 2

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/210279


More information about the llvm-commits mailing list