fallback: legalize: G_INTRINSIC <N x f16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <N x f16> M |
| Occurrences: | 4 in 4 configs, 2 test files, 8 more counted only |
| Snippet from: | vector-deinterleave-fixed.710ac419e6.ll (mutant of vector-deinterleave-fixed.ll) @vector_deinterleave7_v7f16_v1f16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+v,+m,+zvfbfmin -O1 -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 half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half> } @vector_deinterleave7_v7f16_v1f16(<7 x half> %v) {
%C = fcmp ule double 4.200000e+01, +inf
%res = call { <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half> } @llvm.vector.deinterleave7.v7f16(<7 x half> %v)
store i1 %C, ptr @G.1, align 1
ret { <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half> } %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half>, <1 x half> } @llvm.vector.deinterleave7.v7f16(<7 x half>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+v,+m,+zvfbfmin -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v,+m,+zvfbfmin -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(f16), %7:_(f16), %8:_(f16), %9:_(f16), %10:_(f16), %11:_(f16), %12:_(f16) = G_INTRINSIC intrinsic(@llvm.vector.deinterleave7), %0:_(<7 x f16>) (in function: vector_deinterleave7_v7f16_v1f16)
warning: Instruction selection used fallback path for vector_deinterleave7_v7f16_v1f16
Occurrences (4):
| Input | Function | Config |
|---|
| vector-deinterleave-fixed.37f139ebe4.ll (mutant of vector-deinterleave-fixed.ll) | vector_deinterleave7_v7f16_v1f16 | -mtriple=riscv64 -mattr=+m,+zvfh,+zvfbfmin,+a -O3 -code-model=medium -verify-machineinstrs |
| vector-deinterleave-fixed.710ac419e6.ll (mutant of vector-deinterleave-fixed.ll) | vector_deinterleave7_v7f16_v1f16 | -mtriple=riscv64 -mattr=+v,+m,+zvfbfmin -O1 -verify-machineinstrs |
| vector-interleave-fixed.63687ad06f.ll (mutant of vector-interleave-fixed.ll) | vector_interleave7_v7f16_v1f16 | -mtriple=riscv64 -mattr=+v,+zvbb,+zvfbfmin,+experimental-zvzip -O3 -code-model=small -verify-machineinstrs |
| vector-interleave-fixed.a36b50b789.ll (mutant of vector-interleave-fixed.ll) | vector_interleave7_v7f16_v1f16 | -mtriple=riscv32 -mattr=+zvfh,+zvfbfmin,+zbs -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.