fallback: translate: frem bfloat
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: frem bfloat M |
| Occurrences: | 4 in 4 configs, 4 test files, 13 more counted only |
| Snippet from: | rv64zimop-intrinsic.a27a1f6f6e.ll (mutant of rv64zimop-intrinsic.ll) @moprr7_64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zimop,+zfinx -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global bfloat
; Function Attrs: nounwind
define i64 @moprr7_64(i64 %a, i64 %b) #0 {
%B = frem bfloat 4.200000e+01, 3.389530e+38
%tmp = call i64 @llvm.riscv.moprr.i64(i64 %a, i64 %b, i64 7)
store bfloat %B, ptr @G.3, align 2
ret i64 %tmp
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.riscv.moprr.i64(i64, i64, i64 immarg) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zimop,+zfinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zimop,+zfinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem bfloat 4.200000e+01, 3.389530e+38' (in function: moprr7_64)
warning: Instruction selection used fallback path for moprr7_64
Occurrences (4):
| Input | Function | Config |
|---|
| attributes.06a94e2d6c.ll (mutant of attributes.ll) | atomic_load_i8_seq_cst | -mtriple=riscv32 -mattr=+svpbmt,+zfinx -O1 -verify-machineinstrs |
| fixed-vectors-abs-vp.bc4da7e9.543cc84028.ll (mutant of fixed-vectors-abs-vp.bc4da7e9.ll) | vp_abs_v16i8_unmasked | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zfinx -O1 |
| float-br-fcmp.4904bbe771.ll (mutant of float-br-fcmp.ll) | br_fcmp_store_load_stack_slot | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+zihintpause -O1 -code-model=medium |
| rv64zimop-intrinsic.a27a1f6f6e.ll (mutant of rv64zimop-intrinsic.ll) | moprr7_64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zimop,+zfinx -O2 |
Generated 2026-11-29 14:49 UTC.