| Run: | main-b577f07195-20261129-101839 |
| Kind: | crash |
| Category: | Assertion failed: ((!isScalable() || isZero()) && "Request for a fixed element count on a scalable object"), function getFixedValue, file TypeSize.h |
| Occurrences: | 14 in 4 configs, 3 test files |
| Snippet from: | alloca-load-store-scalable-array.ll @test via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | https://godbolt.org/z/bqh6EeP3M (llc-assertions-trunk, checked 2026-10-26 12:20 UTC): G reproduces |
target triple = "riscv64-unknown-unknown-elf"
define void @test(ptr %addr) {
entry:
%ret = alloca [3 x <vscale x 1 x double>], align 8
%val = load [3 x <vscale x 1 x double>], ptr %addr, align 8
store [3 x <vscale x 1 x double>] %val, ptr %ret, align 8
ret void
}
| Pane | Options | Exit | Insts | stderr |
|---|---|---|---|---|
| GlobalISel | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 134 | 0 | llc: /root/llvm-project/llvm/include/llvm/Support/TypeSize.h:202: constexpr llvm::details::FixedOrScalableQuantity<LeafTy, ValueTy>::ScalarTy llvm::details::FixedOrScalableQuantity<LeafTy, ValueTy>::getFixedValue() const [with LeafTy = llvm::TypeSize; ValueTy = long unsigned int; llvm::details::FixedOrScalableQuantity<LeafTy, ValueTy>::ScalarTy = long unsigned int]: Assertion `(!isScalable() || isZero()) && "Request for a fixed element count on a scalable object"' failed. 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: |
| SelectionDAG (control) | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases -global-isel=0 | 0 | 24 | - |
llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases -global-isel=0 snippet.ll -o -
llc: /home/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/llvm/include/llvm/Support/TypeSize.h:203: ScalarTy llvm::details::FixedOrScalableQuantity<llvm::TypeSize, unsigned long>::getFixedValue() const [LeafTy = llvm::TypeSize, ValueTy = unsigned long]: Assertion `(!isScalable() || isZero()) && "Request for a fixed element count on a scalable object"' failed. 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/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/build/bin/llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* -o - 1. Running pass 'Function Pass Manager' on module '<stdin>'. 2. Running pass 'IRTranslator' on function '@test' 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 0x000055a87e50a9eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x000055a87e5079c1 llvm::sys::RunSignalHandlers() + 369 2 llc 0x000055a87e50b46b 3 libc.so.6 0x00007f67d9e45330 4 libc.so.6 0x00007f67d9e9ebec pthread_kill + 284 5 libc.so.6 0x00007f67d9e4527e gsignal + 30 6 libc.so.6 0x00007f67d9e288ff abort + 223 7 libc.so.6 0x00007f67d9e2881b 8 libc.so.6 0x00007f67d9e3b517 9 llc 0x000055a87cfaee5b llvm::computeValueLLTs(llvm::DataLayout const&, llvm::Type&, llvm::SmallVectorImpl<llvm::LLT>&, llvm::SmallVectorImpl<unsigned long>*, unsigned long) + 267 10 llc 0x000055a87ede04f6 llvm::IRTranslatorImpl::getOrCreateVRegs(llvm::Value const&) + 454 11 llc 0x000055a87ede7ea1 llvm::IRTranslatorImpl::translateLoad(llvm::User const&, llvm::MachineIRBuilder&) + 81 12 llc 0x000055a87edf7595 llvm::IRTranslatorImpl::translate(llvm::Instruction const&) + 485 13 llc 0x000055a87edfa1cd llvm::IRTranslatorImpl::runOnMachineFunction(llvm::MachineFunction&, llvm::function_ref<llvm::GISelCSEInfo* ()>, bool, llvm::function_ref<llvm::AAResults* ()>, llvm::function_ref<llvm::BranchProbabilityInfo* ()>, llvm::function_ref<llvm::AssumptionCache* ()>, llvm::TargetLibraryInfo*, llvm::LibcallLoweringInfo const*, llvm::SSPLayoutInfo*) + 4205 14 llc 0x000055a87edfb1bd llvm::IRTranslatorLegacy::runOnMachineFunction(llvm::MachineFunction&) + 733 15 llc 0x000055a87d1846b1 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 513 16 llc 0x000055a87d71fb37 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 17 llc 0x000055a87d728052 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 18 llc 0x000055a87d7208e0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 19 llc 0x000055a87c97b149 20 llc 0x000055a87c9782d3 main + 1747 21 libc.so.6 0x00007f67d9e2a1ca 22 libc.so.6 0x00007f67d9e2a28b __libc_start_main + 139 23 llc 0x000055a87c9773e5 _start + 37
| Input | Function | Config |
|---|---|---|
| alloca-load-store-scalable-array.ll | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-struct.ll | -mtriple=riscv64 -mattr=+m,+d,+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-array.388553eb65.ll (mutant of alloca-load-store-scalable-array.ll) | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-array.bc98c6c238.ll (mutant of alloca-load-store-scalable-array.ll) | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-array.f06050329d.ll (mutant of alloca-load-store-scalable-array.ll) | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-array.f1109fc8ee.ll (mutant of alloca-load-store-scalable-array.ll) | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-array.f4f51b8ff8.ll (mutant of alloca-load-store-scalable-array.ll) | -mtriple=riscv64 -mattr=+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-struct.174409bf03.ll (mutant of alloca-load-store-scalable-struct.ll) | -mtriple=riscv64 -mattr=+m,+d,+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-struct.33866da046.ll (mutant of alloca-load-store-scalable-struct.ll) | -mtriple=riscv64 -mattr=+m,+d,+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-struct.70899b6a95.ll (mutant of alloca-load-store-scalable-struct.ll) | -mtriple=riscv64 -mattr=+m,+d,+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-struct.9ddcda894e.ll (mutant of alloca-load-store-scalable-struct.ll) | -mtriple=riscv64 -mattr=+m,+d,+v -verify-machineinstrs -M no-aliases | |
| alloca-load-store-scalable-struct.a7e7ac8942.ll (mutant of alloca-load-store-scalable-struct.ll) | -mtriple=riscv64 -mattr=+m,+d,+v -verify-machineinstrs -M no-aliases | |
| vp-vector-interleaved-access.1a4f7306aa.ll (mutant of vp-vector-interleaved-access.ll) | -mtriple=riscv32 -mattr=+v,m -O2 | |
| vp-vector-interleaved-access.8683acd5fe.ll (mutant of vp-vector-interleaved-access.ll) | -mtriple=riscv64 -mattr=+v,m -O2 |
Generated 2026-11-29 14:49 UTC.