fallback: translate: zext i8

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: zext i8 M
Occurrences:11 in 10 configs, 6 test files, 36 more counted only
Snippet from:sext-zext-trunc.a235b0013b.ll (mutant of sext-zext-trunc.ll) @zext_i8_to_i64 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

; Function Attrs: nounwind
define i64 @zext_i8_to_i64(i8 %a) #0 {
  %1 = zext i8 %a to i64
  %C = icmp sge i64 %1, -1
  store i1 %C, ptr @G, align 1
  ret i64 %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: zext: '  %1 = zext i8 %a to i64' (in function: zext_i8_to_i64)
warning: Instruction selection used fallback path for zext_i8_to_i64

Occurrences (11):

InputFunctionConfig
abdu-neg.163e96eda0.ll (mutant of abdu-neg.ll)abd_ext_i8_i16-mtriple=riscv64 -mattr=+zbkb,+zdinx -O0 -verify-machineinstrs
abdu-neg.6f92d51979.ll (mutant of abdu-neg.ll)abd_ext_i8-mtriple=riscv64 -mattr=+c,+zdinx -O1 -code-model=small -verify-machineinstrs
abdu-neg.98f4e5dc88.ll (mutant of abdu-neg.ll)abd_ext_i8_i16-mtriple=riscv64 -mattr=+zbb,+zfinx,+zihintpause -O0 -verify-machineinstrs
clmulh.1f41c6d118.ll (mutant of clmulh.ll)clmulh_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zvbc,+zvkb,+zhinx -O2
clmulh.957f9935d3.ll (mutant of clmulh.ll)clmulh_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zvbc,+zhinx -O3
clmulr.3eaa23f8eb.ll (mutant of clmulr.ll)commutative_clmulr_i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zbc,+zfinx -O3
clmulr.672fcc4a82.ll (mutant of clmulr.ll)commutative_clmulr_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O3
rv32zbkb.625c2dd8bb.ll (mutant of rv32zbkb.ll)pack_lo_packh_hi_packh_2-mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb,+zbs,+zfinx -O2
rv64zbkb.5e8f1976dd.ll (mutant of rv64zbkb.ll)pack_lo_packh_hi_packh_4-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbkb,+zhinx -O2 -code-model=small
rv64zbkb.5e8f1976dd.ll (mutant of rv64zbkb.ll)pack_i32_lo_noext_hi_packh_nozeroext-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zbkb,+zhinx -O2 -code-model=small
sext-zext-trunc.a235b0013b.ll (mutant of sext-zext-trunc.ll)zext_i8_to_i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O0

Generated 2026-11-29 14:49 UTC.