fallback: translate: bitcast float

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: bitcast float M
Occurrences:3 in 1 configs, 1 test files, 10 more counted only
Snippet from:split-store.f7feb4508f.ll (mutant of split-store.ll) @int32_float_pair via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i1

define void @int32_float_pair(i32 %tmp1, float %tmp2, ptr %ref.tmp) {
  %t0 = bitcast float %tmp2 to i32
  %t1 = zext i32 %t0 to i64
  %t2 = shl nuw i64 %t1, 32
  %t3 = zext i32 %tmp1 to i64
  %t4 = or i64 %t2, %t3
  store i64 %t4, ptr %ref.tmp, align 8
  %C = icmp ugt i32 %tmp1, 65536
  store i1 %C, ptr @G.1, align 1
  ret void
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: bitcast: '  %t0 = bitcast float %tmp2 to i32' (in function: int32_float_pair)
warning: Instruction selection used fallback path for int32_float_pair

Occurrences (3):

InputFunctionConfig
split-store.6a13a8683d.ll (mutant of split-store.ll)float_int32_pair-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
split-store.f7feb4508f.ll (mutant of split-store.ll)int32_float_pair-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
split-store.f7feb4508f.ll (mutant of split-store.ll)mbb_int32_float_pair-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0

Generated 2026-11-29 14:49 UTC.