fallback: translate: call llvm.vp.gather.nxv4f16.nxv4p0
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.gather.nxv4f16.nxv4p0 M |
| Occurrences: | 6 in 6 configs, 1 test files |
| Snippet from: | vpgather-sdnode.251657e3e4.ll (mutant of vpgather-sdnode.ll) @vpgather_truemask_nxv4f16 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <2 x i64>
@G.1 = external global <2 x i64>
@G.2 = external global <2 x i64>
define <vscale x 4 x half> @vpgather_truemask_nxv4f16(<vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
%LGV1 = load <2 x i64>, ptr @G.1, align 16
%LGV = load <2 x i64>, ptr @G, align 16
%B = and <2 x i64> %LGV, %LGV1
%v = call <vscale x 4 x half> @llvm.vp.gather.nxv4f16.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
store <2 x i64> %B, ptr @G.2, align 16
ret <vscale x 4 x half> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 4 x half> @llvm.vp.gather.nxv4f16.nxv4p0(<vscale x 4 x ptr>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }
Reproduce:
llc -mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv4f16.nxv4p0: ' %v = call <vscale x 4 x half> @llvm.vp.gather.nxv4f16.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)' (in function: vpgather_truemask_nxv4f16)
warning: Instruction selection used fallback path for vpgather_truemask_nxv4f16
Occurrences (6):
| Input | Function | Config |
|---|
| vpgather-sdnode.251657e3e4.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4f16 | -mtriple=riscv32 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs |
| vpgather-sdnode.84eb395ca4.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4f16 | -mtriple=riscv32 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs |
| vpgather-sdnode.b432bd5097.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4f16 | -mtriple=riscv64 -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -verify-machineinstrs |
| vpgather-sdnode.b6d0efc84a.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4f16 | -mtriple=riscv64 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs |
| vpgather-sdnode.ca3091ce27.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4f16 | -mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs |
| vpgather-sdnode.cf17e16a00.ll (mutant of vpgather-sdnode.ll) | vpgather_truemask_nxv4f16 | -mtriple=riscv32 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.