fallback: translate: call llvm.abs.nxv16i8

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.abs.nxv16i8 M
Occurrences:3 in 3 configs, 1 test files, 8 more counted only
Snippet from:abs-vp.8036dc8e5d.ll (mutant of abs-vp.ll) @vp_abs_nxv16i8_unmasked via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+zfa,+zfhmin -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 16 x i8> @vp_abs_nxv16i8_unmasked(<vscale x 16 x i8> %va, i32 zeroext %evl) {
  %A = alloca <4 x i1>, align 1
  store <4 x i1> poison, ptr %A, align 1
  %C = fcmp ule <4 x float> splat (float 1.401300e-45), splat (float f0x7F7FFFFF)
  %v = call <vscale x 16 x i8> @llvm.abs.nxv16i8(<vscale x 16 x i8> %va, i1 false)
  store <4 x i1> %C, ptr %A, align 1
  ret <vscale x 16 x i8> %v
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i8> @llvm.abs.nxv16i8(<vscale x 16 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,+experimental-zvabd,+zfa,+zfhmin -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,+experimental-zvabd,+zfa,+zfhmin -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.abs.nxv16i8: '  %v = call <vscale x 16 x i8> @llvm.abs.nxv16i8(<vscale x 16 x i8> %va, i1 false)' (in function: vp_abs_nxv16i8_unmasked)
warning: Instruction selection used fallback path for vp_abs_nxv16i8_unmasked

Occurrences (3):

InputFunctionConfig
abs-vp.394518dac6.ll (mutant of abs-vp.ll)vp_abs_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zbs -O0
abs-vp.4547e9f47d.ll (mutant of abs-vp.ll)vp_abs_nxv16i8_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd -O2
abs-vp.8036dc8e5d.ll (mutant of abs-vp.ll)vp_abs_nxv16i8_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+zfa,+zfhmin -O0

Generated 2026-11-29 14:49 UTC.