fallback: legalize: G_SITOFP <N x bf16>,<N x i64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_SITOFP <N x bf16>,<N x i64> M |
| Occurrences: | 5 in 5 configs, 1 test files, 30 more counted only |
| Snippet from: | fixed-vectors-i2fp.abffe357df.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v8i64_v8bf16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @si2fp_v8i64_v8bf16(ptr %x, ptr %y) {
%a = load <8 x i64>, ptr %x, align 64
%d = sitofp <8 x i64> %a to <8 x bfloat>
%B = sdiv i64 4294967296, 4294967296
store <8 x bfloat> %d, ptr %y, align 16
store i64 %B, ptr poison, align 4
ret void
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<8 x bf16>) = G_SITOFP %2:_(<8 x i64>) (in function: si2fp_v8i64_v8bf16)
warning: Instruction selection used fallback path for si2fp_v8i64_v8bf16
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.4c0f90ac60.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i64_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2 |
| fixed-vectors-i2fp.56ec0124ff.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v2i64_v2bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -O0 -code-model=small |
| fixed-vectors-i2fp.7c181386b1.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i64_v8bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zve64d -O2 |
| fixed-vectors-i2fp.abffe357df.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i64_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O1 |
| fixed-vectors-i2fp.c0dec0766d.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i64_v8bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+experimental-zvfbfa,+f,+d -O3 |
Generated 2026-11-29 14:49 UTC.