fallback: translate: call llvm.vp.load.nxv6i32.p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.nxv6i32.p0 M |
| Occurrences: | 5 in 5 configs, 1 test files, 2 more counted only |
| Snippet from: | vp-vector-interleaved-access.07cc914cec.ll (mutant of vp-vector-interleaved-access.ll) @load_factor3_v2 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v,+m -O3 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } @load_factor3_v2(ptr %ptr, i32 zeroext %evl) {
%rvl = mul nuw i32 %evl, 3
%wide.masked.load = call <vscale x 6 x i32> @llvm.vp.load.nxv6i32.p0(ptr %ptr, <vscale x 6 x i1> splat (i1 true), i32 %rvl)
%B = lshr <vscale x 6 x i32> %wide.masked.load, splat (i32 65536)
%deinterleaved.results = call { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } @llvm.vector.deinterleave3.nxv6i32(<vscale x 6 x i32> %B)
%t0 = extractvalue { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } %deinterleaved.results, 0
%t1 = extractvalue { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } %deinterleaved.results, 1
%res0 = insertvalue { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } poison, <vscale x 2 x i32> %t0, 0
%res1 = insertvalue { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } %res0, <vscale x 2 x i32> %t1, 1
ret { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } %res1
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { <vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i32> } @llvm.vector.deinterleave3.nxv6i32(<vscale x 6 x i32>) #0
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 6 x i32> @llvm.vp.load.nxv6i32.p0(ptr captures(none), <vscale x 6 x i1>, i32) #1
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
Reproduce:
llc -mtriple=riscv32 -mattr=+v,+m -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v,+m -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv6i32.p0: ' %wide.masked.load = call <vscale x 6 x i32> @llvm.vp.load.nxv6i32.p0(ptr %ptr, <vscale x 6 x i1> splat (i1 true), i32 %rvl)' (in function: load_factor3_v2)
warning: Instruction selection used fallback path for load_factor3_v2
Occurrences (5):
| Input | Function | Config |
|---|
| vp-vector-interleaved-access.074a1dd51f.ll (mutant of vp-vector-interleaved-access.ll) | load_factor3_v2 | -mtriple=riscv32 -mattr=+v,+m,+a,+zvbb -O0 -code-model=small -verify-machineinstrs |
| vp-vector-interleaved-access.07cc914cec.ll (mutant of vp-vector-interleaved-access.ll) | load_factor3_v2 | -mtriple=riscv32 -mattr=+v,+m -O3 -verify-machineinstrs |
| vp-vector-interleaved-access.69764fc739.ll (mutant of vp-vector-interleaved-access.ll) | load_factor3_v2 | -mtriple=riscv32 -mattr=+v,+m,+zfhmin -O0 -verify-machineinstrs |
| vp-vector-interleaved-access.d553dd539e.ll (mutant of vp-vector-interleaved-access.ll) | load_factor3_partial | -mtriple=riscv32 -mattr=+v,+m,+zvfh,+zihintpause -O0 -verify-machineinstrs |
| vp-vector-interleaved-access.db65b3eab5.ll (mutant of vp-vector-interleaved-access.ll) | load_factor3_no_extract | -mtriple=riscv32 -mattr=+v,+m,+zvbb -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.