fallback: translate: alloca i8~

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: alloca i8~ M
Occurrences:5 in 5 configs, 5 test files, 5 more counted only
Snippet from:srem-seteq-illegal-types.e0740ec688.ll (mutant of srem-seteq-illegal-types.ll) @test_srem_pow2_setne via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i1 @test_srem_pow2_setne(i6 %X) #0 {
  %A = alloca i6, align 1
  store i6 poison, ptr %A, align 1
  %B = xor i6 %X, -22
  %srem = srem i6 %X, 4
  %cmp = icmp ne i6 %srem, 0
  store i6 %B, ptr %A, align 1
  ret i1 %cmp
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: alloca: '  %A = alloca i6, align 1' (in function: test_srem_pow2_setne)
warning: Instruction selection used fallback path for test_srem_pow2_setne

Occurrences (5):

InputFunctionConfig
clmulh.957f9935d3.ll (mutant of clmulh.ll)clmulh_i4_bitreverse-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbc,+zhinx -O3
clmulr.725a5c8d31.ll (mutant of clmulr.ll)clmulr_i4-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3 -code-model=small
rv64zbb.18852b9661.ll (mutant of rv64zbb.ll)sub_if_uge_C_swapped_nsw_i7-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O0
sadd_sat.4f125eab1f.ll (mutant of sadd_sat.ll)func3-mtriple=riscv32 -mattr=+m,+zbb,+zfinx,+a -O1 -verify-machineinstrs
srem-seteq-illegal-types.e0740ec688.ll (mutant of srem-seteq-illegal-types.ll)test_srem_pow2_setne-mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.