fallback: translate: frem bfloat
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: frem bfloat M |
| Occurrences: | 3 in 3 configs, 3 test files, 7 more counted only |
| Snippet from: | codemodel-lowering.215ee47248.ll (mutant of codemodel-lowering.ll) @lower_constantpool via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx,+zbkb -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global bfloat
; Function Attrs: nounwind
define float @lower_constantpool(float %a) #0 {
%B = frem bfloat 1.000000e+00, +qnan
%1 = fadd float %a, f0x3F800800
store bfloat %B, ptr @G.1, align 2
ret float %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx,+zbkb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx,+zbkb -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem bfloat 1.000000e+00, +qnan' (in function: lower_constantpool)
warning: Instruction selection used fallback path for lower_constantpool
Occurrences (3):
| Input | Function | Config |
|---|
| callee-saved-gprs.16ccc82d08.ll (mutant of callee-saved-gprs.ll) | varargs | -mtriple=riscv32 -target-abi ilp32e -verify-machineinstrs -mattr=+zhinx -O2 |
| codemodel-lowering.215ee47248.ll (mutant of codemodel-lowering.ll) | lower_constantpool | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx,+zbkb -O1 |
| rvp-simd-64.1c56d80e.3fc17736f2.ll (mutant of rvp-simd-64.1c56d80e.ll) | test_pm2adda_v2i32_i64_direct | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O1 |
Generated 2026-11-29 14:49 UTC.