fallback: translate: call llvm.vp.merge.nxv2i32
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.merge.nxv2i32 M |
| Occurrences: | 8 in 8 configs, 1 test files, 12 more counted only |
| Snippet from: | vpmerge-sdnode.ec32db1ef7.ll (mutant of vpmerge-sdnode.ll) @splat_nxv2i32_const via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x i32> @splat_nxv2i32_const(i32 zeroext %evl) {
%A = alloca i128, align 8
store i128 poison, ptr %A, align 4
%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)
%B = or i128 170141183460469231731687303715884105727, 42
store i128 %B, ptr %A, 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=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -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.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 (8):
| Input | Function | Config |
|---|
| vpmerge-sdnode.1b4030dd5e.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vx_nxv2i32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O1 |
| vpmerge-sdnode.22cda865f9.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv2i32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m,+zba -O0 |
| vpmerge-sdnode.295f214d3c.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+xtheadba -O2 |
| vpmerge-sdnode.38d63a16da.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vv_nxv2i32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 |
| vpmerge-sdnode.7a697c28a2.ll (mutant of vpmerge-sdnode.ll) | vpmerge_vi_nxv2i32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O2 |
| vpmerge-sdnode.a459a8933b.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbb,+a -O0 |
| vpmerge-sdnode.e3a7df5912.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32_const | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zihintpause,+zbb -O2 |
| vpmerge-sdnode.ec32db1ef7.ll (mutant of vpmerge-sdnode.ll) | splat_nxv2i32_const | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 |
Generated 2026-11-29 14:49 UTC.