fallback: translate: alloca i8~
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: alloca i8~ M |
| Occurrences: | 4 in 4 configs, 3 test files, 8 more counted only |
| Snippet from: | clmul.a097bc2163.ll (mutant of clmul.ll) @clmul_i4_noimplicitfloat via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zbs -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: noimplicitfloat nounwind
define i4 @clmul_i4_noimplicitfloat(i4 %a, i4 %b) #0 {
%A = alloca i4, align 1
store i4 poison, ptr %A, align 1
%res = call i4 @llvm.clmul.i4(i4 %a, i4 %b)
%B = xor i4 %res, %b
store i4 %B, ptr %A, align 1
ret i4 %res
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i4 @llvm.clmul.i4(i4, i4) #1
attributes #0 = { noimplicitfloat nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zbs -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zbs -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: alloca: ' %A = alloca i4, align 1' (in function: clmul_i4_noimplicitfloat)
warning: Instruction selection used fallback path for clmul_i4_noimplicitfloat
Occurrences (4):
| Input | Function | Config |
|---|
| clmul.a097bc2163.ll (mutant of clmul.ll) | clmul_i4_noimplicitfloat | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zbs -O0 |
| clmul.e32275c44d.ll (mutant of clmul.ll) | clmul_i4_noimplicitfloat | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbc,+zbb,+zfinx -O0 |
| clmulr.313c727917.ll (mutant of clmulr.ll) | clmulr_i4 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zicond -O1 |
| ssub_sat.fa57d18b52.ll (mutant of ssub_sat.ll) | func3 | -mtriple=riscv32 -mattr=+m,+zbs,+zhinx -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.