fallback: legalize: G_INTRINSIC <N x bf16>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <N x bf16> M |
| Occurrences: | 3 in 3 configs, 2 test files, 3 more counted only |
| Snippet from: | vector-deinterleave-fixed.46a1103abd.ll (mutant of vector-deinterleave-fixed.ll) @vector_deinterleave8_v8bf16_v1bf16 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin -O2 -code-model=small -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define { <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat> } @vector_deinterleave8_v8bf16_v1bf16(<8 x bfloat> %v) {
%C = icmp slt i32 -1, 0
%res = call { <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat> } @llvm.vector.deinterleave8.v8bf16(<8 x bfloat> %v)
store i1 %C, ptr poison, align 1
ret { <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat> } %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat> } @llvm.vector.deinterleave8.v8bf16(<8 x bfloat>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin -O2 -code-model=small -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin -O2 -code-model=small -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %14:_(bf16), %15:_(bf16), %16:_(bf16), %17:_(bf16), %18:_(bf16), %19:_(bf16), %20:_(bf16), %21:_(bf16) = G_INTRINSIC intrinsic(@llvm.vector.deinterleave8), %0:_(<8 x bf16>) (in function: vector_deinterleave8_v8bf16_v1bf16)
warning: Instruction selection used fallback path for vector_deinterleave8_v8bf16_v1bf16
Occurrences (3):
| Input | Function | Config |
|---|
| vector-deinterleave-fixed.46a1103abd.ll (mutant of vector-deinterleave-fixed.ll) | vector_deinterleave8_v8bf16_v1bf16 | -mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin -O2 -code-model=small -verify-machineinstrs |
| vector-deinterleave-fixed.abf399de5b.ll (mutant of vector-deinterleave-fixed.ll) | vector_deinterleave7_v7bf16_v1bf16 | -mtriple=riscv32 -mattr=+m,+zvfh,+zvfbfmin,+zvkb -O0 -verify-machineinstrs |
| vector-interleave-fixed.73d40ec528.ll (mutant of vector-interleave-fixed.ll) | vector_interleave7_v7bf16_v1bf16 | -mtriple=riscv64 -mattr=+zvbb,+zvfh,+zvfbfmin,+experimental-zvzip,+zfa -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.