fallback: translate: call llvm.smax.nxv1i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.smax.nxv1i64 M |
| Occurrences: | 7 in 7 configs, 1 test files, 2 more counted only |
| Snippet from: | vmax-vp.3fcce74f2a.ll (mutant of vmax-vp.ll) @vmax_vv_nxv1i64_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global half
define <vscale x 1 x i64> @vmax_vv_nxv1i64_unmasked(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b, i32 zeroext %evl) {
%LGV = load half, ptr @G, align 2
%C = fcmp ord half %LGV, +qnan
%v = call <vscale x 1 x i64> @llvm.smax.nxv1i64(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b)
store i1 %C, ptr poison, align 1
ret <vscale x 1 x i64> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i64> @llvm.smax.nxv1i64(<vscale x 1 x i64>, <vscale x 1 x i64>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.smax.nxv1i64: ' %v = call <vscale x 1 x i64> @llvm.smax.nxv1i64(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b)' (in function: vmax_vv_nxv1i64_unmasked)
warning: Instruction selection used fallback path for vmax_vv_nxv1i64_unmasked
Occurrences (7):
| Input | Function | Config |
|---|
| vmax-vp.3c1b0f8340.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vmax-vp.3fcce74f2a.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba -O2 |
| vmax-vp.4dc9ba487b.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vmax-vp.4f682ed6c4.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zicsr -O1 |
| vmax-vp.77e67314b4.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zba -O0 |
| vmax-vp.a9fae11347.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zbb -O3 |
| vmax-vp.aeef181ce5.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
Generated 2026-11-29 14:49 UTC.