fallback: legalize: G_SITOFP <N x bf16>,<N x i8>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_SITOFP <N x bf16>,<N x i8> M |
| Occurrences: | 6 in 6 configs, 1 test files, 67 more counted only |
| Snippet from: | fixed-vectors-i2fp.1332792b09.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v2i8_v2bf16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global ptr
define void @si2fp_v2i8_v2bf16(ptr %x, ptr %y) {
%a = load <2 x i8>, ptr %x, align 2
%G = getelementptr ptr, ptr %x, i16 0
%d = sitofp <2 x i8> %a to <2 x bfloat>
store <2 x bfloat> %d, ptr %y, align 4
store ptr %G, ptr @G.1, align 8
ret void
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+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,+zvfh,+zvfbfmin,+f,+d -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<2 x bf16>) = G_SITOFP %2:_(<2 x i8>) (in function: si2fp_v2i8_v2bf16)
warning: Instruction selection used fallback path for si2fp_v2i8_v2bf16
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.0eda4e5ba1.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v4i8_v4bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f -O3 |
| fixed-vectors-i2fp.1332792b09.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v2i8_v2bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O1 |
| fixed-vectors-i2fp.14164e651c.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i8_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+zcb -O0 |
| fixed-vectors-i2fp.5817118b99.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v2i8_v2bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+f,+d,+zvfh -O3 |
| fixed-vectors-i2fp.d6aeada8d8.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v2i8_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d,+a -O2 |
| fixed-vectors-i2fp.f88129f870.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v4i8_v4bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zfh,+zbkb -O3 |
Generated 2026-11-29 14:49 UTC.