fallback: translate: call llvm.vp.load.nxv2i8.p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.nxv2i8.p0 M |
| Occurrences: | 4 in 4 configs, 2 test files, 2 more counted only |
| Snippet from: | nontemporal-vp-scalable.7b95c06782.ll (mutant of nontemporal-vp-scalable.ll) @test_nontemporal_vp_load_nxv2i8_P1 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x i8> @test_nontemporal_vp_load_nxv2i8_P1(ptr %p, i32 zeroext %vl) {
%B = udiv i32 %vl, %vl
%x = call <vscale x 2 x i8> @llvm.vp.load.nxv2i8.p0(ptr %p, <vscale x 2 x i1> splat (i1 true), i32 %B), !nontemporal !0, !riscv-nontemporal-domain !1
ret <vscale x 2 x i8> %x
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 2 x i8> @llvm.vp.load.nxv2i8.p0(ptr captures(none), <vscale x 2 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
!0 = !{i32 1}
!1 = !{i32 2}
Reproduce:
llc -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv2i8.p0: ' %x = call <vscale x 2 x i8> @llvm.vp.load.nxv2i8.p0(ptr %p, <vscale x 2 x i1> splat (i1 true), i32 %B), !nontemporal !2, !riscv-nontemporal-domain !3' (in function: test_nontemporal_vp_load_nxv2i8_P1)
warning: Instruction selection used fallback path for test_nontemporal_vp_load_nxv2i8_P1
Occurrences (4):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.7b95c06782.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_load_nxv2i8_P1 | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs |
| nontemporal-vp-scalable.b81dbc8fb0.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_load_nxv2i8_S1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs |
| vpload.3b40e91ec8.ll (mutant of vpload.ll) | vpload_nxv2i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O0 |
| vpload.ff3b8da671.ll (mutant of vpload.ll) | vpload_nxv2i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbb -O3 |
Generated 2026-11-29 14:49 UTC.