fallback: translate: call llvm.ctlz.nxv8i16

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

Snippet:

define <vscale x 8 x i16> @ctlz_nxv8i16(<vscale x 8 x i16> %va) {
  %a = call <vscale x 8 x i16> @llvm.ctlz.nxv8i16(<vscale x 8 x i16> %va, i1 false)
  ret <vscale x 8 x i16> %a
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x i16> @llvm.ctlz.nxv8i16(<vscale x 8 x i16>, 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.ctlz.nxv8i16: '  %a = call <vscale x 8 x i16> @llvm.ctlz.nxv8i16(<vscale x 8 x i16> %va, i1 false)' (in function: ctlz_nxv8i16)
warning: Instruction selection used fallback path for ctlz_nxv8i16

Occurrences (16) (first 15):

InputFunctionConfig
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
ctlz-sdnode.llctlz_zero_poison_nxv8i16-mtriple=riscv32 -mattr=+v,+d -verify-machineinstrs
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
ctlz-sdnode.llctlz_zero_poison_nxv8i16-mtriple=riscv32 -mattr=+v,+zvbb -verify-machineinstrs
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv32 -mattr=+zve64f,+f -verify-machineinstrs
ctlz-sdnode.llctlz_zero_poison_nxv8i16-mtriple=riscv32 -mattr=+zve64f,+f -verify-machineinstrs
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv32 -mattr=+zve64x -verify-machineinstrs
ctlz-sdnode.llctlz_zero_poison_nxv8i16-mtriple=riscv32 -mattr=+zve64x -verify-machineinstrs
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv64 -mattr=+v,+d -verify-machineinstrs
ctlz-sdnode.llctlz_zero_poison_nxv8i16-mtriple=riscv64 -mattr=+v,+d -verify-machineinstrs
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctlz-sdnode.llctlz_zero_poison_nxv8i16-mtriple=riscv64 -mattr=+v,+zvbb -verify-machineinstrs
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv64 -mattr=+zve64f,+f -verify-machineinstrs
ctlz-sdnode.llctlz_zero_poison_nxv8i16-mtriple=riscv64 -mattr=+zve64f,+f -verify-machineinstrs
ctlz-sdnode.llctlz_nxv8i16-mtriple=riscv64 -mattr=+zve64x -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.