fallback: translate: bitcast float
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: bitcast float M |
| Occurrences: | 3 in 3 configs, 1 test files, 9 more counted only |
| Snippet from: | split-store.5d68341312.ll (mutant of split-store.ll) @float_int32_pair via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zhinx -O1 -code-model=medium |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @float_int32_pair(float %tmp1, i32 %tmp2, ptr %ref.tmp) {
%t0 = bitcast float %tmp1 to i32
%t1 = zext i32 %tmp2 to i64
%t2 = shl nuw i64 %t1, 32
%C = fcmp ueq half 0.000000e+00, +qnan
%t3 = zext i32 %t0 to i64
%t4 = or i64 %t2, %t3
store i64 %t4, ptr %ref.tmp, align 8
store i1 %C, ptr poison, align 1
ret void
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zhinx -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zhinx -O1 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: bitcast: ' %t0 = bitcast float %tmp1 to i32' (in function: float_int32_pair)
warning: Instruction selection used fallback path for float_int32_pair
Occurrences (3):
| Input | Function | Config |
|---|
| split-store.51a21f5a52.ll (mutant of split-store.ll) | float_int32_pair | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+zvbb -O2 |
| split-store.5d68341312.ll (mutant of split-store.ll) | float_int32_pair | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zhinx -O1 -code-model=medium |
| split-store.b1a59837a7.ll (mutant of split-store.ll) | mbb_int32_float_pair | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3 |
Generated 2026-11-29 14:49 UTC.