fallback: translate: call llvm.ctpop.nxv8i64

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.ctpop.nxv8i64
Occurrences:16 in 4 configs, 1 test files
Snippet from:ctpop-sdnode.ll @ctpop_nxv8i64 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i64> @ctpop_nxv8i64(<vscale x 8 x i64> %va) {
  %a = call <vscale x 8 x i64> @llvm.ctpop.nxv8i64(<vscale x 8 x i64> %va)
  ret <vscale x 8 x i64> %a
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x i64> @llvm.ctpop.nxv8i64(<vscale x 8 x i64>) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.ctpop.nxv8i64: '  %a = call <vscale x 8 x i64> @llvm.ctpop.nxv8i64(<vscale x 8 x i64> %va)' (in function: ctpop_nxv8i64)
warning: Instruction selection used fallback path for ctpop_nxv8i64

Occurrences (16) (first 15):

InputFunctionConfig
ctpop-sdnode.llctpop_nxv8i64-mtriple=riscv32 -mattr=+v -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_ult_two-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_ugt_one-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_eq_one-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_ne_one-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64-mtriple=riscv64 -mattr=+v -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_ult_two-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_ugt_one-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_eq_one-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.llctpop_nxv8i64_ne_one-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.37f9b8776f.ll (mutant of ctpop-sdnode.ll)ctpop_nxv8i64_ult_two-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.37f9b8776f.ll (mutant of ctpop-sdnode.ll)ctpop_nxv8i64_ugt_one-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctpop-sdnode.4efede3406.ll (mutant of ctpop-sdnode.ll)ctpop_nxv8i64_ult_two-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.