fallback: legalize: G_INTRINSIC <N x bf16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <N x bf16> M |
| Occurrences: | 3 in 3 configs, 1 test files, 4 more counted only |
| Snippet from: | vector-interleave-fixed.7ef0c7840e.ll (mutant of vector-interleave-fixed.ll) @vector_interleave8_v8bf16_v1bf16 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v,+zvbb,+zvfh -O1 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <8 x bfloat> @vector_interleave8_v8bf16_v1bf16(<1 x bfloat> %a, <1 x bfloat> %b, <1 x bfloat> %c, <1 x bfloat> %d, <1 x bfloat> %e, <1 x bfloat> %f, <1 x bfloat> %g, <1 x bfloat> %h) #0 {
%B = srem <2 x i64> splat (i64 9223372036854775807), splat (i64 -9223372036854775808)
%res = call <8 x bfloat> @llvm.vector.interleave8.v8bf16(<1 x bfloat> %a, <1 x bfloat> %b, <1 x bfloat> %c, <1 x bfloat> %d, <1 x bfloat> %e, <1 x bfloat> %f, <1 x bfloat> %g, <1 x bfloat> %h)
store <2 x i64> %B, ptr poison, align 16
ret <8 x bfloat> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <8 x bfloat> @llvm.vector.interleave8.v8bf16(<1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>, <1 x bfloat>) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+v,+zvbb,+zvfh -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v,+zvbb,+zvfh -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %31:_(<8 x bf16>) = G_INTRINSIC intrinsic(@llvm.vector.interleave8), %0:_(bf16), %1:_(bf16), %2:_(bf16), %3:_(bf16), %4:_(bf16), %5:_(bf16), %6:_(bf16), %7:_(bf16) (in function: vector_interleave8_v8bf16_v1bf16)
warning: Instruction selection used fallback path for vector_interleave8_v8bf16_v1bf16
Occurrences (3):
| Input | Function | Config |
|---|
| vector-interleave-fixed.34b5238bb2.ll (mutant of vector-interleave-fixed.ll) | vector_interleave8_v8bf16_v1bf16 | -mtriple=riscv32 -mattr=+zvfh -O2 -verify-machineinstrs |
| vector-interleave-fixed.61915b49b6.ll (mutant of vector-interleave-fixed.ll) | vector_interleave8_v8bf16_v1bf16 | -mtriple=riscv32 -mattr=+v,+zvfh,+f -O3 -verify-machineinstrs |
| vector-interleave-fixed.7ef0c7840e.ll (mutant of vector-interleave-fixed.ll) | vector_interleave8_v8bf16_v1bf16 | -mtriple=riscv32 -mattr=+v,+zvbb,+zvfh -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.