fallback: translate: frem <vscale x N x float>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: frem <vscale x N x float> M |
| Occurrences: | 4 in 4 configs, 4 test files, 9 more counted only |
| Snippet from: | fixed-vectors-select-fp.a97e75ab2f.ll (mutant of fixed-vectors-select-fp.ll) @selectcc_v8f16 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define <8 x half> @selectcc_v8f16(half %a, half %b, <8 x half> %c, <8 x half> %d) {
%C = fcmp ule double 1.000000e+00, 4.200000e+01
%cmp = fcmp oeq half %a, %b
%v = select i1 %cmp, <8 x half> %c, <8 x half> %d
%B = frem <vscale x 2 x float> splat (float +inf), splat (float 1.000000e+00)
store <vscale x 2 x float> %B, ptr poison, align 8
store i1 %C, ptr @G.1, align 1
ret <8 x half> %v
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem <vscale x 2 x float> splat (float +inf), splat (float 1.000000e+00)' (in function: selectcc_v8f16)
warning: Instruction selection used fallback path for selectcc_v8f16
Occurrences (4):
| Input | Function | Config |
|---|
| double-stack-spill-restore.cc8b9efbff.ll (mutant of double-stack-spill-restore.ll) | func | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+d,+zba,+v -O2 |
| fixed-vectors-cttz-vp.e9adeeb228.ll (mutant of fixed-vectors-cttz-vp.ll) | vp_cttz_zero_undef_v16i16_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O3 |
| fixed-vectors-select-fp.a97e75ab2f.ll (mutant of fixed-vectors-select-fp.ll) | selectcc_v8f16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v -O0 |
| vector-interleave-store.6dcae3197a.ll (mutant of vector-interleave-store.ll) | vector_interleave_store_factor5 | -mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.