fallback: translate: call llvm.vp.merge.nxv32i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv32i8 M |
| Occurrences: | 7 in 6 configs, 1 test files, 2 more counted only |
| Snippet from: | vpmerge-sdnode.743ac86ec4.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vi_nxv32i8 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define <vscale x 32 x i8> @vpmerge_vi_nxv32i8(<vscale x 32 x i8> %vb, <vscale x 32 x i1> %m, i32 zeroext %evl) {
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%LGV = load i1, ptr @G.1, align 1
%B = sdiv i1 true, %LGV
%v = call <vscale x 32 x i8> @llvm.vp.merge.nxv32i8(<vscale x 32 x i1> %m, <vscale x 32 x i8> splat (i8 2), <vscale x 32 x i8> %vb, i32 %evl)
store i1 %B, ptr %A, align 1
ret <vscale x 32 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 32 x i8> @llvm.vp.merge.nxv32i8(<vscale x 32 x i1>, <vscale x 32 x i8>, <vscale x 32 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 -O3 -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 -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv32i8: ' %v = call <vscale x 32 x i8> @llvm.vp.merge.nxv32i8(<vscale x 32 x i1> %m, <vscale x 32 x i8> splat (i8 2), <vscale x 32 x i8> %vb, i32 %evl)' (in function: vpmerge_vi_nxv32i8)
warning: Instruction selection used fallback path for vpmerge_vi_nxv32i8
Occurrences (7):
| Input | Function | Config |
|---|
| vpmerge-sdnode.0700c2f83d.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv32i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 |
| vpmerge-sdnode.32f6ae2ae9.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv32i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0 |
| vpmerge-sdnode.36ee03db2e.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv32i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zcb -O3 -code-model=small |
| vpmerge-sdnode.3722a5faac.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv32i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zihintpause,+c -O1 |
| vpmerge-sdnode.743ac86ec4.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv32i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 |
| vpmerge-sdnode.94c1e8d121.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv32i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 |
| vpmerge-sdnode.f82d7e418a.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv32i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3 |
Generated 2026-11-29 14:49 UTC.