fallback: translate: frem <vscale x N x float>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: frem <vscale x N x float> M |
| Occurrences: | 4 in 4 configs, 4 test files, 21 more counted only |
| Snippet from: | extractelt-fp.c5d06048ba.ll (mutant of extractelt-fp.ll) @extractelt_nxv1f32_0 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d,+zfhmin,+zfbfmin,+zvfhmin,+zvfbfmin,+zba -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define float @extractelt_nxv1f32_0(<vscale x 1 x float> %v) {
%B = frem <vscale x 1 x float> %v, splat (float 4.200000e+01)
%r = extractelement <vscale x 1 x float> %B, i32 0
ret float %r
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d,+zfhmin,+zfbfmin,+zvfhmin,+zvfbfmin,+zba -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d,+zfhmin,+zfbfmin,+zvfhmin,+zvfbfmin,+zba -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem <vscale x 1 x float> %v, splat (float 4.200000e+01)' (in function: extractelt_nxv1f32_0)
warning: Instruction selection used fallback path for extractelt_nxv1f32_0
Occurrences (4):
| Input | Function | Config |
|---|
| attributes.ccb81b447d.ll (mutant of attributes.ll) | addi | -mtriple=riscv32 -mattr=+v -O2 -verify-machineinstrs |
| extractelt-fp.c5d06048ba.ll (mutant of extractelt-fp.ll) | extractelt_nxv1f32_0 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d,+zfhmin,+zfbfmin,+zvfhmin,+zvfbfmin,+zba -O2 |
| vmulhu.604a0c66e2.ll (mutant of vmulhu.ll) | intrinsic_vmulhu_vx_nxv2i8_nxv2i8_i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vreductions-fp-sdnode.f8aeeb60ab.ll (mutant of vreductions-fp-sdnode.ll) | vreduce_fmax_nxv32f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zihintpause -O3 -code-model=small |
Generated 2026-11-29 14:49 UTC.