fallback: translate: sdiv <N x i8>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: sdiv <N x i8> M |
| Occurrences: | 3 in 3 configs, 3 test files, 15 more counted only |
| Snippet from: | half-br-fcmp.3251d2f796.ll (mutant of half-br-fcmp.ll) @br_fcmp_uge via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32f -mattr=+zdinx -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global <8 x i8>
declare void @abort()
; Function Attrs: nounwind
define void @br_fcmp_uge(half %a, half %b) #0 {
%B = sdiv <8 x i8> splat (i8 42), splat (i8 127)
%1 = fcmp uge half %a, %b
store <8 x i8> %B, ptr @G.2, align 8
br i1 %1, label %if.then, label %if.else
if.else: ; preds = %0
ret void
if.then: ; preds = %0
tail call void @abort()
unreachable
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32f -mattr=+zdinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32f -mattr=+zdinx -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sdiv: ' %B = sdiv <8 x i8> splat (i8 42), splat (i8 127)' (in function: br_fcmp_uge)
warning: Instruction selection used fallback path for br_fcmp_uge
Occurrences (3):
| Input | Function | Config |
|---|
| half-br-fcmp.3251d2f796.ll (mutant of half-br-fcmp.ll) | br_fcmp_uge | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32f -mattr=+zdinx -O3 |
| rvp-simd-32.dcf37936.7e4f560376.ll (mutant of rvp-simd-32.dcf37936.ll) | test_psaddu_b | -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx,+zba -O0 |
| rvp-simd-64.43c0dae181.ll (mutant of rvp-simd-64.ll) | test_pmulsu_b11_v4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O2 |
Generated 2026-11-29 14:49 UTC.