fallback: translate: alloca
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: alloca M |
| Occurrences: | 3 in 2 configs, 2 test files, 11 more counted only |
| Snippet from: | fold-mem-offset.a640c4d1b8.ll (mutant of fold-mem-offset.ll) @pr228053_frameindex_crash via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zba,+zhinx -O3 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
%union.u0 = type { [0 x i8] }
declare void @f4()
define ptr @pr228053_frameindex_crash() {
entry:
%un18 = alloca %union.u0, align 1
%B = mul <8 x i8> splat (i8 127), splat (i8 42)
%arrayidx1 = getelementptr i8, ptr %un18, i64 ptrtoint (ptr @f4 to i64)
store <8 x i8> %B, ptr %arrayidx1, align 8
ret ptr %arrayidx1
}
Reproduce:
llc -mtriple=riscv64 -mattr=+zba,+zhinx -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zba,+zhinx -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: alloca: ' %un18 = alloca %union.u0, align 1' (in function: pr228053_frameindex_crash)
warning: Instruction selection used fallback path for pr228053_frameindex_crash
Occurrences (3):
| Input | Function | Config |
|---|
| calling-conv-ilp32-ilp32f-ilp32d-common.0e71eafb6a.ll (mutant of calling-conv-ilp32-ilp32f-ilp32d-common.ll) | caller_large_struct | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3 -code-model=medium |
| calling-conv-ilp32-ilp32f-ilp32d-common.0e71eafb6a.ll (mutant of calling-conv-ilp32-ilp32f-ilp32d-common.ll) | caller_large_struct_ret | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3 -code-model=medium |
| fold-mem-offset.a640c4d1b8.ll (mutant of fold-mem-offset.ll) | pr228053_frameindex_crash | -mtriple=riscv64 -mattr=+zba,+zhinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.