fallback: translate: sext i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: sext i8 M |
| Occurrences: | 6 in 5 configs, 4 test files, 8 more counted only |
| Snippet from: | zcb-regalloc-hints.71462aaf02.ll (mutant of zcb-regalloc-hints.ll) @c_sext_b via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+zba,+zbb,+zcb,+zdinx -O3 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i64
define i64 @c_sext_b(i64 %x, i8 %y, i64 %z) {
%a = sext i8 %y to i64
%B = xor i64 %a, %z
%b = or i64 %a, 4096
store i64 %B, ptr @G.3, align 4
ret i64 %b
}
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+zba,+zbb,+zcb,+zdinx -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zba,+zbb,+zcb,+zdinx -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sext: ' %a = sext i8 %y to i64' (in function: c_sext_b)
warning: Instruction selection used fallback path for c_sext_b
Occurrences (6):
| Input | Function | Config |
|---|
| abds-neg.27823ed3de.ll (mutant of abds-neg.ll) | abd_ext_i8 | -mtriple=riscv32 -mattr=+zbb,+zdinx,+zvkb -O0 -verify-machineinstrs |
| abds-neg.27823ed3de.ll (mutant of abds-neg.ll) | abd_ext_i8_undef | -mtriple=riscv32 -mattr=+zbb,+zdinx,+zvkb -O0 -verify-machineinstrs |
| abds.eb07fee59d.ll (mutant of abds.ll) | abd_ext_i8_i16 | -mtriple=riscv64 -mattr=+zbb,+zdinx -O3 -verify-machineinstrs |
| abds.f8bf26a903.ll (mutant of abds.ll) | abd_ext_i8_undef | -mtriple=riscv32 -mattr=+zbb,+zdinx -O2 -verify-machineinstrs |
| avgceils.d7cf9b18c0.ll (mutant of avgceils.ll) | test_ext_i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 |
| zcb-regalloc-hints.71462aaf02.ll (mutant of zcb-regalloc-hints.ll) | c_sext_b | -mtriple=riscv64 -mattr=+m,+zba,+zbb,+zcb,+zdinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.