fallback: translate: ret float

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: ret float
Occurrences:20 in 8 configs, 3 test files
Snippet from:calllowering-zfinx-zhinx.ll @return_zero via llvm-extract
Config:-mtriple=riscv32 -mattr=+zhinx
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define float @return_zero() {
  ret float 0.000000e+00
}

Reproduce:

llc -mtriple=riscv32 -mattr=+zhinx -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zhinx -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: ret: '  ret float 0.000000e+00' (in function: return_zero)
warning: Instruction selection used fallback path for return_zero

Occurrences (20) (first 15):

InputFunctionConfig
calllowering-zfinx-zhinx.llreturn_zero-mtriple=riscv32 -mattr=+zhinx
calllowering-zfinx-zhinx.llcallee_float-mtriple=riscv32 -mattr=+zhinx
calllowering-zfinx-zhinx.llcallee_fastcc_float-mtriple=riscv32 -mattr=+zhinx
calllowering-zfinx-zhinx.llreturn_zero-mtriple=riscv64 -mattr=+zhinx
calllowering-zfinx-zhinx.llcallee_float-mtriple=riscv64 -mattr=+zhinx
calllowering-zfinx-zhinx.llcallee_fastcc_float-mtriple=riscv64 -mattr=+zhinx
fastcc-without-f-reg.llf-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs
fastcc-without-f-reg.llf-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs
fastcc-without-f-reg.llf-mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs
fastcc-without-f-reg.llf-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs
float-imm.llfloat_imm-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32
float-imm.llfloat_positive_zero-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32
float-imm.llfloat_negative_zero-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32
float-imm.llpoison-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32
float-imm.llundef-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32

Generated 2026-11-29 14:49 UTC.