fallback: translate: insertelement <N x i8>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: insertelement <N x i8> M |
| Occurrences: | 8 in 8 configs, 8 test files, 21 more counted only |
| Snippet from: | codemodel-lowering.274b00afd7.ll (mutant of codemodel-lowering.ll) @lower_global via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i32
@G.1 = external global <4 x i32>
; Function Attrs: nounwind
define i32 @lower_global(i32 %a) #0 {
%I = insertelement <8 x i8> zeroinitializer, i8 127, i32 0
%LGV = load <4 x i32>, ptr @G.1, align 16
%1 = load volatile i32, ptr @G, align 4
%B = srem <4 x i32> %LGV, splat (i32 2147483647)
store <4 x i32> %B, ptr poison, align 16
store <8 x i8> %I, ptr poison, align 8
ret i32 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: insertelement: ' %I = insertelement <8 x i8> zeroinitializer, i8 127, i32 0' (in function: lower_global)
warning: Instruction selection used fallback path for lower_global
Occurrences (8):
| Input | Function | Config |
|---|
| bswap-bitreverse.6deb6270b5.ll (mutant of bswap-bitreverse.ll) | test_bitreverse_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zhinx -O3 -code-model=medium |
| codemodel-lowering.274b00afd7.ll (mutant of codemodel-lowering.ll) | lower_global | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O1 |
| fixed-vectors-shuffle-int.06c05710.90038671b0.ll (mutant of fixed-vectors-shuffle-int.06c05710.ll) | vmerge_vxm3 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2 |
| fixed-vectors-vssubu-vp.c9872a6b3a.ll (mutant of fixed-vectors-vssubu-vp.ll) | vssubu_vx_v5i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3 |
| half-convert.8ca6377341.ll (mutant of half-convert.ll) | fcvt_lu_h | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin,+zbs,+zbkb -O1 |
| half-round-conv.803f25d28a.ll (mutant of half-round-conv.ll) | test_roundeven_si64 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin,+a -O2 |
| smulh.ae410c6e27.ll (mutant of smulh.ll) | smulh_v16i8 | -mtriple=riscv64 -mattr=+zhinx,+m -O2 -verify-machineinstrs |
| umulh.ea8bc229ed.ll (mutant of umulh.ll) | umulh_v16i8 | -mtriple=riscv32 -mattr=+zfinx -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.