fallback: translate: frem <N x float>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: frem <N x float> M |
| Occurrences: | 3 in 3 configs, 3 test files, 12 more counted only |
| Snippet from: | half-intrinsics.bc97aef717.ll (mutant of half-intrinsics.ll) @exp2_f16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define half @exp2_f16(half %a) #0 {
%B = frem <4 x float> splat (float 1.401300e-45), splat (float 4.200000e+01)
%1 = call half @llvm.exp2.f16(half %a)
store <4 x float> %B, ptr poison, align 16
ret half %1
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare half @llvm.exp2.f16(half) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem <4 x float> splat (float 1.401300e-45), splat (float 4.200000e+01)' (in function: exp2_f16)
warning: Instruction selection used fallback path for exp2_f16
Occurrences (3):
| Input | Function | Config |
|---|
| fp-fcanonicalize.a02d19a758.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_f64_nnan | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx,+zvkb -O3 -code-model=small |
| half-intrinsics.bc97aef717.ll (mutant of half-intrinsics.ll) | exp2_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx -O2 |
| uadd_sat_plus.b957554a6f.ll (mutant of uadd_sat_plus.ll) | func32 | -mtriple=riscv32 -mattr=+m,+zbb,+zvbb,+zhinx -O0 -code-model=medium -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.