fallback: translate: call llvm.abs.nxv64i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.abs.nxv64i8 M |
| Occurrences: | 4 in 3 configs, 1 test files, 10 more counted only |
| Snippet from: | abs-vp.0899eac649.ll (mutant of abs-vp.ll) @vp_abs_nxv64i8 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O0 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i32
define <vscale x 64 x i8> @vp_abs_nxv64i8(<vscale x 64 x i8> %va, <vscale x 64 x i1> %m, i32 zeroext %evl) {
%LGV = load i32, ptr @G, align 4
%v = call <vscale x 64 x i8> @llvm.abs.nxv64i8(<vscale x 64 x i8> %va, i1 false)
%B = urem i32 %evl, %LGV
store i32 %B, ptr poison, align 4
ret <vscale x 64 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 64 x i8> @llvm.abs.nxv64i8(<vscale x 64 x i8>, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O0 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.abs.nxv64i8: ' %v = call <vscale x 64 x i8> @llvm.abs.nxv64i8(<vscale x 64 x i8> %va, i1 false)' (in function: vp_abs_nxv64i8)
warning: Instruction selection used fallback path for vp_abs_nxv64i8
Occurrences (4):
| Input | Function | Config |
|---|
| abs-vp.0899eac649.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O0 -code-model=small |
| abs-vp.ac52e73844.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd -O3 -code-model=small |
| abs-vp.f9fdef19ce.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd -O0 |
| abs-vp.f9fdef19ce.ll (mutant of abs-vp.ll) | vp_abs_nxv64i8_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd -O0 |
Generated 2026-11-29 14:49 UTC.