fallback: translate: call llvm.vp.merge.nxv16i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv16i8 M |
| Occurrences: | 4 in 4 configs, 1 test files, 7 more counted only |
| Snippet from: | vpmerge-sdnode.e06440a0ea.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vx_nxv16i8 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 16 x i8> @vpmerge_vx_nxv16i8(i8 %a, <vscale x 16 x i8> %vb, <vscale x 16 x i1> %m, i32 zeroext %evl) {
%elt.head = insertelement <vscale x 16 x i8> poison, i8 %a, i32 0
%va = shufflevector <vscale x 16 x i8> %elt.head, <vscale x 16 x i8> poison, <vscale x 16 x i32> zeroinitializer
%C = icmp sgt i8 %a, 16
%v = call <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1> %m, <vscale x 16 x i8> %va, <vscale x 16 x i8> %vb, i32 %evl)
store i1 %C, ptr poison, align 1
ret <vscale x 16 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1>, <vscale x 16 x i8>, <vscale x 16 x i8>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv16i8: ' %v = call <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1> %m, <vscale x 16 x i8> %va, <vscale x 16 x i8> %vb, i32 %evl)' (in function: vpmerge_vx_nxv16i8)
warning: Instruction selection used fallback path for vpmerge_vx_nxv16i8
Occurrences (4):
| Input | Function | Config |
|---|
| vpmerge-sdnode.0bada5db71.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv16i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 -code-model=medium |
| vpmerge-sdnode.3722a5faac.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv16i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zihintpause,+c -O1 |
| vpmerge-sdnode.bb893c92af.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv16i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zfhmin -O3 |
| vpmerge-sdnode.e06440a0ea.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv16i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0 |
Generated 2026-11-29 14:49 UTC.