fallback: translate: call llvm.abs.nxv2i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.abs.nxv2i8 M |
| Occurrences: | 3 in 2 configs, 1 test files, 8 more counted only |
| Snippet from: | abs-vp.501048d30f.ll (mutant of abs-vp.ll) @vp_abs_nxv2i8 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zbb,+zcb -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x i8> @vp_abs_nxv2i8(<vscale x 2 x i8> %va, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%A = alloca <2 x i64>, align 16
store <2 x i64> poison, ptr %A, align 16
%v = call <vscale x 2 x i8> @llvm.abs.nxv2i8(<vscale x 2 x i8> %va, i1 false)
%I = insertelement <2 x i64> splat (i64 42), i64 -9223372036854775808, i1 true
store <2 x i64> %I, ptr %A, align 16
ret <vscale x 2 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 2 x i8> @llvm.abs.nxv2i8(<vscale x 2 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,+zbb,+zcb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zbb,+zcb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.abs.nxv2i8: ' %v = call <vscale x 2 x i8> @llvm.abs.nxv2i8(<vscale x 2 x i8> %va, i1 false)' (in function: vp_abs_nxv2i8)
warning: Instruction selection used fallback path for vp_abs_nxv2i8
Occurrences (3):
| Input | Function | Config |
|---|
| abs-vp.501048d30f.ll (mutant of abs-vp.ll) | vp_abs_nxv2i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zbb,+zcb -O0 |
| abs-vp.501048d30f.ll (mutant of abs-vp.ll) | vp_abs_nxv2i8_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zbb,+zcb -O0 |
| abs-vp.dddd3ecdd3.ll (mutant of abs-vp.ll) | vp_abs_nxv2i8_unmasked | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+zbkb,+zba -O0 |
Generated 2026-11-29 14:49 UTC.