fallback: translate: call llvm.abs.nxv64i8

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.abs.nxv64i8 M
Occurrences:4 in 4 configs, 1 test files, 8 more counted only
Snippet from:abs-vp.23eadddc9b.ll (mutant of abs-vp.ll) @vp_abs_nxv64i8_unmasked via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global i16

define <vscale x 64 x i8> @vp_abs_nxv64i8_unmasked(<vscale x 64 x i8> %va, i32 zeroext %evl) {
  %LGV = load i16, ptr @G.3, align 2
  %C = icmp ule i16 42, %LGV
  %v = call <vscale x 64 x i8> @llvm.abs.nxv64i8(<vscale x 64 x i8> %va, i1 false)
  store i1 %C, ptr poison, align 1
  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,+experimental-zvabd -O1 -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 -O1 -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_unmasked)
warning: Instruction selection used fallback path for vp_abs_nxv64i8_unmasked

Occurrences (4):

InputFunctionConfig
abs-vp.23eadddc9b.ll (mutant of abs-vp.ll)vp_abs_nxv64i8_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd -O1
abs-vp.6c539cc7ed.ll (mutant of abs-vp.ll)vp_abs_nxv64i8_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+zvbb -O3
abs-vp.92713b2202.ll (mutant of abs-vp.ll)vp_abs_nxv64i8_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O2
abs-vp.a868d8d1fe.ll (mutant of abs-vp.ll)vp_abs_nxv64i8_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd,+f -O3 -code-model=medium

Generated 2026-11-29 14:49 UTC.