fallback: translate: call llvm.vp.merge.nxv2i32
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv2i32 M |
| Occurrences: | 9 in 9 configs, 2 test files, 3 more counted only |
| Snippet from: | vpmerge-sdnode.49dff729d7.ll (mutant of vpmerge-sdnode.ll) @splat_nxv2i32_const via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zvkb -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
@G.1 = external global i64
define <vscale x 2 x i32> @splat_nxv2i32_const(i32 zeroext %evl) {
%LGV = load i64, ptr @G, align 4
%B = and i64 %LGV, 0
%v = call <vscale x 2 x i32> @llvm.vp.merge.nxv2i32(<vscale x 2 x i1> splat (i1 true), <vscale x 2 x i32> splat (i32 1), <vscale x 2 x i32> poison, i32 %evl)
store i64 %B, ptr @G.1, align 4
ret <vscale x 2 x i32> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x i32> @llvm.vp.merge.nxv2i32(<vscale x 2 x i1>, <vscale x 2 x i32>, <vscale x 2 x i32>, 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,+zvkb -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,+zvkb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv2i32: ' %v = call <vscale x 2 x i32> @llvm.vp.merge.nxv2i32(<vscale x 2 x i1> splat (i1 true), <vscale x 2 x i32> splat (i32 1), <vscale x 2 x i32> poison, i32 %evl)' (in function: splat_nxv2i32_const)
warning: Instruction selection used fallback path for splat_nxv2i32_const
Occurrences (9):
| Input | Function | Config |
|---|
| rvv-peephole-vmerge-vops.1567f7de98.ll (mutant of rvv-peephole-vmerge-vops.ll) | vpmerge_viota2 | -mtriple=riscv64 -mattr=+v -O1 -verify-machineinstrs |
| rvv-peephole-vmerge-vops.223b536068.ll (mutant of rvv-peephole-vmerge-vops.ll) | vpmerge_vpadd3 | -mtriple=riscv64 -mattr=+v,+zicsr -O1 -verify-machineinstrs |
| vpmerge-sdnode.04c5e830fb.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 |
| vpmerge-sdnode.04e97d3bfe.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m,+zicond -O1 |
| vpmerge-sdnode.2ee9d59d78.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv2i32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+zicsr -O1 |
| vpmerge-sdnode.49dff729d7.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32_const | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zvkb -O3 |
| vpmerge-sdnode.5a150b7e62.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32_const | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zfa -O2 |
| vpmerge-sdnode.9546e54baf.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+c -O0 |
| vpmerge-sdnode.a6fb2cb6a2.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0 |
Generated 2026-11-29 14:49 UTC.