fallback: translate: call llvm.vp.merge.nxv2i64
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv2i64 M |
| Occurrences: | 4 in 4 configs, 1 test files |
| Snippet from: | vpmerge-sdnode.052e0f7ae3.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vx_nxv2i64 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x i64> @vpmerge_vx_nxv2i64(i64 %a, <vscale x 2 x i64> %vb, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%B = mul i128 0, 42
%elt.head = insertelement <vscale x 2 x i64> poison, i64 %a, i32 0
%va = shufflevector <vscale x 2 x i64> %elt.head, <vscale x 2 x i64> poison, <vscale x 2 x i32> zeroinitializer
%v = call <vscale x 2 x i64> @llvm.vp.merge.nxv2i64(<vscale x 2 x i1> %m, <vscale x 2 x i64> %va, <vscale x 2 x i64> %vb, i32 %evl)
store i128 %B, ptr poison, align 4
ret <vscale x 2 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x i64> @llvm.vp.merge.nxv2i64(<vscale x 2 x i1>, <vscale x 2 x i64>, <vscale x 2 x i64>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv2i64: ' %v = call <vscale x 2 x i64> @llvm.vp.merge.nxv2i64(<vscale x 2 x i1> %m, <vscale x 2 x i64> %va, <vscale x 2 x i64> %vb, i32 %evl)' (in function: vpmerge_vx_nxv2i64)
warning: Instruction selection used fallback path for vpmerge_vx_nxv2i64
Occurrences (4):
| Input | Function | Config |
|---|
| vpmerge-sdnode.052e0f7ae3.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i64 | -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs |
| vpmerge-sdnode.7250535ef9.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i64 | -mtriple=riscv32 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=ilp32d -verify-machineinstrs |
| vpmerge-sdnode.93667baa6f.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i64 | -mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+v,+m -target-abi=ilp32d -verify-machineinstrs |
| vpmerge-sdnode.a749d9271a.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i64 | -mtriple=riscv64 -mattr=+d,+zfh,+zvfhmin,+v,+m -target-abi=lp64d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.