fallback: translate: udiv <N x i8>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: udiv <N x i8> M |
| Occurrences: | 4 in 4 configs, 4 test files, 5 more counted only |
| Snippet from: | hoist-global-addr-base.53c29d30d0.ll (mutant of hoist-global-addr-base.ll) @offset_sh3add via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zba,+xqcili,+xqcilia,+zbb,+zfinx -O3 -code-model=medium -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@bar = external global [0 x i8], align 1
@G.3 = external global <8 x i8>
define ptr @offset_sh3add() {
%B = udiv <8 x i8> splat (i8 -1), splat (i8 127)
store <8 x i8> %B, ptr @G.3, align 8
ret ptr getelementptr inbounds ([0 x i8], ptr @bar, i32 0, i64 12848)
}
Reproduce:
llc -mtriple=riscv32 -mattr=+zba,+xqcili,+xqcilia,+zbb,+zfinx -O3 -code-model=medium -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zba,+xqcili,+xqcilia,+zbb,+zfinx -O3 -code-model=medium -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: udiv: ' %B = udiv <8 x i8> splat (i8 -1), splat (i8 127)' (in function: offset_sh3add)
warning: Instruction selection used fallback path for offset_sh3add
Occurrences (4):
| Input | Function | Config |
|---|
| attributes.b5a3f09067.ll (mutant of attributes.ll) | addi | -mtriple=riscv64 -mattr=+ssdbltrp,+zhinx,+zicsr -O3 -verify-machineinstrs |
| half-convert-strict.c75dc462f1.ll (mutant of half-convert-strict.ll) | fcvt_si_h | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinxmin,+zba,+zvkb -O2 |
| hoist-global-addr-base.53c29d30d0.ll (mutant of hoist-global-addr-base.ll) | offset_sh3add | -mtriple=riscv32 -mattr=+zba,+xqcili,+xqcilia,+zbb,+zfinx -O3 -code-model=medium -verify-machineinstrs |
| rvp-simd-64.d1814458b3.ll (mutant of rvp-simd-64.ll) | test_psll_s_u8x8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+xtheadba,+zhinx -O1 |
Generated 2026-11-29 14:49 UTC.