fallback: translate: call llvm.experimental.cttz.elts.i64.nxv16i1
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.cttz.elts.i64.nxv16i1 M |
| Occurrences: | 5 in 4 configs, 1 test files, 21 more counted only |
| Snippet from: | cttz-elts.caa802db84.ll (mutant of cttz-elts.ll) @i64_ctz_nxv16i1 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+v,+zfhmin,+zbkb -O1 -code-model=small -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
define i64 @i64_ctz_nxv16i1(<vscale x 16 x i1> %pg, <vscale x 16 x i1> %a) {
%res = call i64 @llvm.experimental.cttz.elts.i64.nxv16i1(<vscale x 16 x i1> %a, i1 true)
%B = xor i64 %res, -1
store i64 %B, ptr @G, align 4
ret i64 %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.experimental.cttz.elts.i64.nxv16i1(<vscale x 16 x i1>, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+v,+zfhmin,+zbkb -O1 -code-model=small -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v,+zfhmin,+zbkb -O1 -code-model=small -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.cttz.elts.i64.nxv16i1: ' %res = call i64 @llvm.experimental.cttz.elts.i64.nxv16i1(<vscale x 16 x i1> %a, i1 true)' (in function: i64_ctz_nxv16i1)
warning: Instruction selection used fallback path for i64_ctz_nxv16i1
Occurrences (5):
| Input | Function | Config |
|---|
| cttz-elts.1f3ba17428.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v -O0 -verify-machineinstrs |
| cttz-elts.22c27e3bfa.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v,+zba -O3 -verify-machineinstrs |
| cttz-elts.96797730e4.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v,+zfh -O0 -verify-machineinstrs |
| cttz-elts.9c220b0c5b.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1_range | -mtriple=riscv32 -mattr=+v -O0 -verify-machineinstrs |
| cttz-elts.caa802db84.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v,+zfhmin,+zbkb -O1 -code-model=small -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.