fallback: translate: call llvm.vp.merge.nxv2i16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv2i16 M |
| Occurrences: | 6 in 6 configs, 1 test files, 5 more counted only |
| Snippet from: | vpmerge-sdnode.0bada5db71.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vv_nxv2i16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 -code-model=medium |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x i16> @vpmerge_vv_nxv2i16(<vscale x 2 x i16> %va, <vscale x 2 x i16> %vb, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 2 x i16> @llvm.vp.merge.nxv2i16(<vscale x 2 x i1> %m, <vscale x 2 x i16> %va, <vscale x 2 x i16> %vb, i32 %evl)
%B = mul <vscale x 2 x i16> %v, %va
ret <vscale x 2 x i16> %B
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x i16> @llvm.vp.merge.nxv2i16(<vscale x 2 x i1>, <vscale x 2 x i16>, <vscale x 2 x i16>, 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 -O2 -code-model=medium -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 -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv2i16: ' %v = call <vscale x 2 x i16> @llvm.vp.merge.nxv2i16(<vscale x 2 x i1> %m, <vscale x 2 x i16> %va, <vscale x 2 x i16> %vb, i32 %evl)' (in function: vpmerge_vv_nxv2i16)
warning: Instruction selection used fallback path for vpmerge_vv_nxv2i16
Occurrences (6):
| Input | Function | Config |
|---|
| vpmerge-sdnode.0bada5db71.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv2i16 | -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_nxv2i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zihintpause,+c -O1 |
| vpmerge-sdnode.37b2ae8f7a.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv2i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m -O1 |
| vpmerge-sdnode.8d7146d112.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbkb -O2 -code-model=small |
| vpmerge-sdnode.9081308c23.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 |
| vpmerge-sdnode.defc38e1b9.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv2i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+m,+zve32x -O3 |
Generated 2026-11-29 14:49 UTC.