fallback: translate: shl <vscale x N x i1>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: shl <vscale x N x i1> M |
| Occurrences: | 5 in 5 configs, 5 test files, 85 more counted only |
| Snippet from: | vpload.522916281d.ll (mutant of vpload.ll) @unaligned_vpload_nxv1i64_allones_mask via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 1 x i64> @unaligned_vpload_nxv1i64_allones_mask(ptr %ptr, i32 zeroext %evl) {
%a = insertelement <vscale x 1 x i1> poison, i1 true, i32 0
%B = shl <vscale x 1 x i1> %a, %a
%b = shufflevector <vscale x 1 x i1> %a, <vscale x 1 x i1> %B, <vscale x 1 x i32> zeroinitializer
%load = call <vscale x 1 x i64> @llvm.vp.load.nxv1i64.p0(ptr align 1 %ptr, <vscale x 1 x i1> %b, i32 %evl)
ret <vscale x 1 x i64> %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 1 x i64> @llvm.vp.load.nxv1i64.p0(ptr captures(none), <vscale x 1 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: shl: ' %B = shl <vscale x 1 x i1> %a, %a' (in function: unaligned_vpload_nxv1i64_allones_mask)
warning: Instruction selection used fallback path for unaligned_vpload_nxv1i64_allones_mask
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-fp-splat-bf16.46e04cabe0.ll (mutant of fixed-vectors-fp-splat-bf16.ll) | splat_zero_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfbfmin,+zvfbfmin,+zbkb -O0 |
| rvv-vmerge-to-vmv.824b95f956.ll (mutant of rvv-vmerge-to-vmv.ll) | preserve_false | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vfcvt-xu-f.e9e3307c52.ll (mutant of vfcvt-xu-f.ll) | intrinsic_vfcvt_mask_xu.f.v_nxv32i16_nxv32f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+v,+zvfh,+zfa -O0 |
| vmsbc.borrow.in.053aef6f4f.ll (mutant of vmsbc.borrow.in.ll) | intrinsic_vmsbc.borrow.in_vxm_nxv32i1_nxv32i16_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbkb -O2 -code-model=small |
| vpload.522916281d.ll (mutant of vpload.ll) | unaligned_vpload_nxv1i64_allones_mask | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3 |
Generated 2026-11-29 14:49 UTC.