fallback: translate: alloca
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: alloca M |
| Occurrences: | 3 in 3 configs, 2 test files, 9 more counted only |
| Snippet from: | tail-calls-sret.29e0afd537.ll (mutant of tail-calls-sret.ll) @local_sret_buffer via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
%struct.Buffer = type { [7 x i64] }
declare void @forward_sret(ptr sret(%struct.Buffer), i64)
define void @local_sret_buffer(i64 %tag) {
entry:
%local = alloca %struct.Buffer, align 8
%L = load <4 x float>, ptr %local, align 16
%B = fdiv <4 x float> %L, zeroinitializer
tail call void @forward_sret(ptr sret(%struct.Buffer) %local, i64 %tag)
store <4 x float> %B, ptr poison, align 16
ret void
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local = alloca %struct.Buffer, align 8' (in function: local_sret_buffer)
warning: Instruction selection used fallback path for local_sret_buffer
Occurrences (3):
| Input | Function | Config |
|---|
| frame.4fe5a77e80.ll (mutant of frame.ll) | test | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 -code-model=small |
| frame.d04ef1b168.ll (mutant of frame.ll) | test | -mtriple=riscv32 -frame-pointer=all -verify-machineinstrs -mattr=+zfinx -O3 |
| tail-calls-sret.29e0afd537.ll (mutant of tail-calls-sret.ll) | local_sret_buffer | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 |
Generated 2026-11-29 14:49 UTC.