| Run: | main-d9924131a4-20261128-102057 |
| 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 d9924131a4 |
| 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 0x000055822ef8bb5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x000055822ef88b31 llvm::sys::RunSignalHandlers() + 369 2 llc 0x000055822ef8c5db 3 libc.so.6 0x00007fca05645330 4 libc.so.6 0x00007fca0569ebec pthread_kill + 284 5 libc.so.6 0x00007fca0564527e gsignal + 30 6 libc.so.6 0x00007fca056288ff abort + 223 7 libc.so.6 0x00007fca0562881b 8 libc.so.6 0x00007fca0563b517 9 llc 0x000055822da2f61b llvm::computeValueLLTs(llvm::DataLayout const&, llvm::Type&, llvm::SmallVectorImpl<llvm::LLT>&, llvm::SmallVectorImpl<unsigned long>*, unsigned long) + 267 10 llc 0x000055822f861466 llvm::IRTranslatorImpl::getOrCreateVRegs(llvm::Value const&) + 454 11 llc 0x000055822f868e11 llvm::IRTranslatorImpl::translateLoad(llvm::User const&, llvm::MachineIRBuilder&) + 81 12 llc 0x000055822f878505 llvm::IRTranslatorImpl::translate(llvm::Instruction const&) + 485 13 llc 0x000055822f87b13d 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 0x000055822f87c12d llvm::IRTranslatorLegacy::runOnMachineFunction(llvm::MachineFunction&) + 733 15 llc 0x000055822dc04891 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 513 16 llc 0x000055822e1a07f7 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 17 llc 0x000055822e1a8d12 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 18 llc 0x000055822e1a15a0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 19 llc 0x000055822d3fb8c9 20 llc 0x000055822d3f8a53 main + 1747 21 libc.so.6 0x00007fca0562a1ca 22 libc.so.6 0x00007fca0562a28b __libc_start_main + 139 23 llc 0x000055822d3f7b65 _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.