fallback: translate: call llvm.abs.nxv16i64

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

Snippet:

@G.2 = external global i1

define <vscale x 16 x i64> @vp_abs_nxv16i64_unmasked(<vscale x 16 x i64> %va, i32 zeroext %evl) {
  %v = call <vscale x 16 x i64> @llvm.abs.nxv16i64(<vscale x 16 x i64> %va, i1 false)
  %C = fcmp une double f0x7FEFFFFFFFFFFFFF, 0.000000e+00
  store i1 %C, ptr @G.2, align 1
  ret <vscale x 16 x i64> %v
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i64> @llvm.abs.nxv16i64(<vscale x 16 x i64>, 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 -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 -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
abs-vp.77cc9e4d44.ll (mutant of abs-vp.ll)vp_abs_nxv16i64_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+c -O1
abs-vp.7bf9ec9988.ll (mutant of abs-vp.ll)vp_abs_nxv16i64_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m -O1
abs-vp.7d95de5b48.ll (mutant of abs-vp.ll)vp_abs_nxv16i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+m -O3
abs-vp.f47ce63f08.ll (mutant of abs-vp.ll)vp_abs_nxv16i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+m,+experimental-zvabd -O2

Generated 2026-11-29 14:49 UTC.