fallback: legalize: G_INTRINSIC <N x bf16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <N x bf16> M |
| Occurrences: | 3 in 3 configs, 2 test files, 10 more counted only |
| Snippet from: | vector-deinterleave-fixed.28939be1c8.ll (mutant of vector-deinterleave-fixed.ll) @vector_deinterleave7_v7bf16_v1bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+zvfh,+zvfbfmin,+zfh -O2 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define { <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat> } @vector_deinterleave7_v7bf16_v1bf16(<7 x bfloat> %v) {
%C = icmp eq i1 false, false
%res = call { <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat> } @llvm.vector.deinterleave7.v7bf16(<7 x bfloat> %v)
store i1 %C, ptr @G.1, align 1
ret { <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> } @llvm.vector.deinterleave7.v7bf16(<7 x bfloat>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+zvfh,+zvfbfmin,+zfh -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zvfh,+zvfbfmin,+zfh -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %12:_(bf16), %13:_(bf16), %14:_(bf16), %15:_(bf16), %16:_(bf16), %17:_(bf16), %18:_(bf16) = G_INTRINSIC intrinsic(@llvm.vector.deinterleave7), %0:_(<7 x bf16>) (in function: vector_deinterleave7_v7bf16_v1bf16)
warning: Instruction selection used fallback path for vector_deinterleave7_v7bf16_v1bf16
Occurrences (3):
| Input | Function | Config |
|---|
| vector-deinterleave-fixed.28939be1c8.ll (mutant of vector-deinterleave-fixed.ll) | vector_deinterleave7_v7bf16_v1bf16 | -mtriple=riscv64 -mattr=+m,+zvfh,+zvfbfmin,+zfh -O2 -verify-machineinstrs |
| vector-interleave-fixed.8acc9c1157.ll (mutant of vector-interleave-fixed.ll) | vector_interleave7_v7bf16_v1bf16 | -mtriple=riscv32 -mattr=+zvbb,+zvfh,+zvfbfmin,+experimental-zvzip -O2 -verify-machineinstrs |
| vector-interleave-fixed.f2622a1ac9.ll (mutant of vector-interleave-fixed.ll) | vector_interleave8_v8bf16_v1bf16 | -mtriple=riscv32 -mattr=+v,+zvfh,+m -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.