fallback: translate: call llvm.experimental.cttz.elts.i32.nxv16i1

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: call llvm.experimental.cttz.elts.i32.nxv16i1 M
Occurrences:8 in 2 configs, 1 test files
Snippet from:cttz-elts.52a13f0a22.ll (mutant of cttz-elts.ll) @ctz_nxv16i1 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i32 @ctz_nxv16i1(<vscale x 16 x i1> %pg, <vscale x 16 x i1> %a) {
  %res = call i32 @llvm.experimental.cttz.elts.i32.nxv16i1(<vscale x 16 x i1> %a, i1 false)
  %B = srem i32 %res, %res
  ret i32 %B
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.experimental.cttz.elts.i32.nxv16i1(<vscale x 16 x i1>, i1 immarg) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.cttz.elts.i32.nxv16i1: '  %res = call i32 @llvm.experimental.cttz.elts.i32.nxv16i1(<vscale x 16 x i1> %a, i1 false)' (in function: ctz_nxv16i1)
warning: Instruction selection used fallback path for ctz_nxv16i1

Occurrences (8):

InputFunctionConfig
cttz-elts.1082623d28.ll (mutant of cttz-elts.ll)ctz_nxv16i1-mtriple=riscv64 -mattr=+v
cttz-elts.1082623d28.ll (mutant of cttz-elts.ll)ctz_nxv16i1_poison-mtriple=riscv64 -mattr=+v
cttz-elts.52a13f0a22.ll (mutant of cttz-elts.ll)ctz_nxv16i1-mtriple=riscv32 -mattr=+v
cttz-elts.9a89433357.ll (mutant of cttz-elts.ll)ctz_nxv16i1_poison-mtriple=riscv64 -mattr=+v
cttz-elts.a3b916ee08.ll (mutant of cttz-elts.ll)ctz_nxv16i1_poison-mtriple=riscv32 -mattr=+v
cttz-elts.ea4f22bb68.ll (mutant of cttz-elts.ll)ctz_nxv16i1-mtriple=riscv32 -mattr=+v
cttz-elts.ea4f22bb68.ll (mutant of cttz-elts.ll)ctz_nxv16i1_poison-mtriple=riscv32 -mattr=+v
cttz-elts.f3d0db9f98.ll (mutant of cttz-elts.ll)ctz_nxv16i1-mtriple=riscv64 -mattr=+v

Generated 2026-11-29 14:49 UTC.