fallback: translate: call llvm.cttz.nxv32i8

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: call llvm.cttz.nxv32i8
Occurrences:20 in 12 configs, 2 test files
Snippet from:cttz-sdnode.ll @cttz_nxv32i8 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 32 x i8> @cttz_nxv32i8(<vscale x 32 x i8> %va) {
  %a = call <vscale x 32 x i8> @llvm.cttz.nxv32i8(<vscale x 32 x i8> %va, i1 false)
  ret <vscale x 32 x i8> %a
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 32 x i8> @llvm.cttz.nxv32i8(<vscale x 32 x i8>, i1 immarg) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.cttz.nxv32i8: '  %a = call <vscale x 32 x i8> @llvm.cttz.nxv32i8(<vscale x 32 x i8> %va, i1 false)' (in function: cttz_nxv32i8)
warning: Instruction selection used fallback path for cttz_nxv32i8

Occurrences (20) (first 15):

InputFunctionConfig
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
cttz-sdnode.llcttz_zero_poison_nxv32i8-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
cttz-sdnode.llcttz_zero_poison_nxv32i8-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv32 -mattr=+zve64f,+f -verify-machineinstrs
cttz-sdnode.llcttz_zero_poison_nxv32i8-mtriple=riscv32 -mattr=+zve64f,+f -verify-machineinstrs
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv32 -mattr=+zve64x -verify-machineinstrs
cttz-sdnode.llcttz_zero_poison_nxv32i8-mtriple=riscv32 -mattr=+zve64x -verify-machineinstrs
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv64 -mattr=+v,+d -verify-machineinstrs
cttz-sdnode.llcttz_zero_poison_nxv32i8-mtriple=riscv64 -mattr=+v,+d -verify-machineinstrs
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
cttz-sdnode.llcttz_zero_poison_nxv32i8-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv64 -mattr=+zve64f,+f -verify-machineinstrs
cttz-sdnode.llcttz_zero_poison_nxv32i8-mtriple=riscv64 -mattr=+zve64f,+f -verify-machineinstrs
cttz-sdnode.llcttz_nxv32i8-mtriple=riscv64 -mattr=+zve64x -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.