fallback: translate: call llvm.vp.merge.nxv2i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv2i64 M |
| Occurrences: | 4 in 4 configs, 2 test files, 5 more counted only |
| Snippet from: | vpmerge-sdnode.11ccb1d848.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vv_nxv2i64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m,+zicsr -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global bfloat
define <vscale x 2 x i64> @vpmerge_vv_nxv2i64(<vscale x 2 x i64> %va, <vscale x 2 x i64> %vb, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%LGV = load bfloat, ptr @G, align 2
%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)
%B = fsub bfloat %LGV, 1.000000e+00
store bfloat %B, ptr poison, align 2
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 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m,+zicsr -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m,+zicsr -O1 -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_vv_nxv2i64)
warning: Instruction selection used fallback path for vpmerge_vv_nxv2i64
Occurrences (4):
| Input | Function | Config |
|---|
| rvv-peephole-vmerge-vops.1994b520dd.ll (mutant of rvv-peephole-vmerge-vops.ll) | vpmerge_vwsub.w_tied | -mtriple=riscv64 -mattr=+v,+zcb,+zvfh -O1 -verify-machineinstrs |
| vpmerge-sdnode.11ccb1d848.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv2i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m,+zicsr -O1 |
| vpmerge-sdnode.24fd97edc0.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv2i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zvkb -O1 |
| vpmerge-sdnode.eb3449241d.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3 |
Generated 2026-11-29 14:49 UTC.