fallback: translate: call llvm.vp.merge.nxv1i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv1i64 M |
| Occurrences: | 4 in 4 configs, 2 test files, 4 more counted only |
| Snippet from: | vpmerge-sdnode.6b54c533f4.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vi_nxv1i64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbs -O2 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 1 x i64> @vpmerge_vi_nxv1i64(<vscale x 1 x i64> %vb, <vscale x 1 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 1 x i64> @llvm.vp.merge.nxv1i64(<vscale x 1 x i1> %m, <vscale x 1 x i64> splat (i64 2), <vscale x 1 x i64> %vb, i32 %evl)
%B = mul <vscale x 1 x i64> %v, splat (i64 9223372036854775807)
store <vscale x 1 x i64> %B, ptr poison, align 8
ret <vscale x 1 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i64> @llvm.vp.merge.nxv1i64(<vscale x 1 x i1>, <vscale x 1 x i64>, <vscale x 1 x i64>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbs -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbs -O2 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv1i64: ' %v = call <vscale x 1 x i64> @llvm.vp.merge.nxv1i64(<vscale x 1 x i1> %m, <vscale x 1 x i64> splat (i64 2), <vscale x 1 x i64> %vb, i32 %evl)' (in function: vpmerge_vi_nxv1i64)
warning: Instruction selection used fallback path for vpmerge_vi_nxv1i64
Occurrences (4):
| Input | Function | Config |
|---|
| strided-vpload.a9a8a8f6e8.ll (mutant of strided-vpload.ll) | zero_strided_vadd_nxv1i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin,+optimized-zero-stride-load -O1 |
| vpmerge-sdnode.0f288f49a8.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv1i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+xtheadba -O0 |
| vpmerge-sdnode.3d3c86f08c.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv1i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0 |
| vpmerge-sdnode.6b54c533f4.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv1i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbs -O2 -code-model=small |
Generated 2026-11-29 14:49 UTC.