fallback: translate: extractelement <N x i8>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: extractelement <N x i8> M
Occurrences:3 in 3 configs, 3 test files, 19 more counted only
Snippet from:fixed-vectors-int-explodevector.25f4000f2d.ll (mutant of fixed-vectors-int-explodevector.ll) @explode_2xi8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zfinx -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i8 @explode_2xi8(<2 x i8> %v) {
  %e0 = extractelement <2 x i8> %v, i32 0
  %e1 = extractelement <2 x i8> %v, i32 1
  %add0 = xor i8 %e0, %e1
  %B = or <2 x i8> %v, splat (i8 127)
  store <2 x i8> %B, ptr poison, align 2
  ret i8 %add0
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: extractelement: '  %e0 = extractelement <2 x i8> %v, i32 0' (in function: explode_2xi8)
warning: Instruction selection used fallback path for explode_2xi8

Occurrences (3):

InputFunctionConfig
fastcc-without-f-reg.68c4522a8d.ll (mutant of fastcc-without-f-reg.ll)caller_half-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2
fixed-vectors-int-explodevector.25f4000f2d.ll (mutant of fixed-vectors-int-explodevector.ll)explode_2xi8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zfinx -O2
stack-offset.81627a72f6.ll (mutant of stack-offset.ll)align_2-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3

Generated 2026-11-29 14:49 UTC.