fallback: translate: call llvm.vp.store.nxv4i16.p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.store.nxv4i16.p0 M |
| Occurrences: | 5 in 5 configs, 2 test files, 5 more counted only |
| Snippet from: | vpstore.47bd6bf4ab.ll (mutant of vpstore.ll) @vpstore_nxv4i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <2 x i64>
define void @vpstore_nxv4i16(<vscale x 4 x i16> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%A = alloca <2 x i64>, align 16
store <2 x i64> poison, ptr %A, align 16
%LGV = load <2 x i64>, ptr @G, align 16
call void @llvm.vp.store.nxv4i16.p0(<vscale x 4 x i16> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
%B = xor <2 x i64> splat (i64 9223372036854775807), %LGV
store <2 x i64> %B, ptr %A, align 16
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
declare void @llvm.vp.store.nxv4i16.p0(<vscale x 4 x i16>, ptr captures(none), <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: write) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.store.nxv4i16.p0: ' call void @llvm.vp.store.nxv4i16.p0(<vscale x 4 x i16> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpstore_nxv4i16)
warning: Instruction selection used fallback path for vpstore_nxv4i16
Occurrences (5):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.4c8931aaed.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_store_nxv4i16_ALL | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa -O3 -verify-machineinstrs |
| nontemporal-vp-scalable.aa9bac86ef.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_store_nxv4i16_P1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+m -O0 -verify-machineinstrs |
| vpstore.47bd6bf4ab.ll (mutant of vpstore.ll) | vpstore_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O3 |
| vpstore.497bbd258b.ll (mutant of vpstore.ll) | vpstore_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zve32x,+xtheadba -O0 |
| vpstore.962262e4da.ll (mutant of vpstore.ll) | vpstore_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1 |
Generated 2026-11-29 14:49 UTC.