fallback: translate: call llvm.vp.merge.nxv32i1
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv32i1 M |
| Occurrences: | 4 in 4 configs, 1 test files |
| Snippet from: | vpmerge-sdnode.052e0f7ae3.ll (mutant of vpmerge-sdnode.ll) @vpmerge_nxv32i1 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i16
define <vscale x 32 x i1> @vpmerge_nxv32i1(<vscale x 32 x i1> %va, <vscale x 32 x i1> %vb, <vscale x 32 x i1> %m, i32 zeroext %evl) {
%A = alloca i16, align 2
store i16 poison, ptr %A, align 2
%LGV = load i16, ptr @G.3, align 2
%v = call <vscale x 32 x i1> @llvm.vp.merge.nxv32i1(<vscale x 32 x i1> %m, <vscale x 32 x i1> %va, <vscale x 32 x i1> %vb, i32 %evl)
%B = add i16 -1, %LGV
store i16 %B, ptr %A, align 2
ret <vscale x 32 x i1> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 32 x i1> @llvm.vp.merge.nxv32i1(<vscale x 32 x i1>, <vscale x 32 x i1>, <vscale x 32 x i1>, 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.nxv32i1: ' %v = call <vscale x 32 x i1> @llvm.vp.merge.nxv32i1(<vscale x 32 x i1> %m, <vscale x 32 x i1> %va, <vscale x 32 x i1> %vb, i32 %evl)' (in function: vpmerge_nxv32i1)
warning: Instruction selection used fallback path for vpmerge_nxv32i1
Occurrences (4):
| Input | Function | Config |
|---|
| vpmerge-sdnode.052e0f7ae3.ll (mutant of vpmerge-sdnode.ll) | vpmerge_nxv32i1 | -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs |
| vpmerge-sdnode.7250535ef9.ll (mutant of vpmerge-sdnode.ll) | vpmerge_nxv32i1 | -mtriple=riscv32 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=ilp32d -verify-machineinstrs |
| vpmerge-sdnode.93667baa6f.ll (mutant of vpmerge-sdnode.ll) | vpmerge_nxv32i1 | -mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+v,+m -target-abi=ilp32d -verify-machineinstrs |
| vpmerge-sdnode.a749d9271a.ll (mutant of vpmerge-sdnode.ll) | vpmerge_nxv32i1 | -mtriple=riscv64 -mattr=+d,+zfh,+zvfhmin,+v,+m -target-abi=lp64d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.