fallback: translate: call llvm.vp.merge.nxv64i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv64i8 M |
| Occurrences: | 5 in 5 configs, 1 test files, 9 more counted only |
| Snippet from: | vpmerge-sdnode.d74f6a2fef.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vi_nxv64i8 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define <vscale x 64 x i8> @vpmerge_vi_nxv64i8(<vscale x 64 x i8> %vb, <vscale x 64 x i1> %m, i32 zeroext %evl) {
%LGV = load i1, ptr @G.1, align 1
%v = call <vscale x 64 x i8> @llvm.vp.merge.nxv64i8(<vscale x 64 x i1> %m, <vscale x 64 x i8> splat (i8 2), <vscale x 64 x i8> %vb, i32 %evl)
%B = sdiv i1 %LGV, false
store i1 %B, ptr poison, align 1
ret <vscale x 64 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 64 x i8> @llvm.vp.merge.nxv64i8(<vscale x 64 x i1>, <vscale x 64 x i8>, <vscale x 64 x i8>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv64i8: ' %v = call <vscale x 64 x i8> @llvm.vp.merge.nxv64i8(<vscale x 64 x i1> %m, <vscale x 64 x i8> splat (i8 2), <vscale x 64 x i8> %vb, i32 %evl)' (in function: vpmerge_vi_nxv64i8)
warning: Instruction selection used fallback path for vpmerge_vi_nxv64i8
Occurrences (5):
| Input | Function | Config |
|---|
| vpmerge-sdnode.37b2ae8f7a.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv64i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m -O1 |
| vpmerge-sdnode.c15167d2a2.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv64i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0 |
| vpmerge-sdnode.c4727c13c5.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv64i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zvkb -O1 |
| vpmerge-sdnode.d74f6a2fef.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv64i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 |
| vpmerge-sdnode.df73a6b134.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv64i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+xtheadba -O2 |
Generated 2026-11-29 14:49 UTC.