fallback: translate: call llvm.experimental.cttz.elts.i64.nxv8i16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.cttz.elts.i64.nxv8i16 M |
| Occurrences: | 3 in 3 configs, 1 test files, 10 more counted only |
| Snippet from: | cttz-elts.96797730e4.ll (mutant of cttz-elts.ll) @ctz_nxv8i1_no_range via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+v,+zfh -O0 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i64 @ctz_nxv8i1_no_range(<vscale x 8 x i16> %a) {
%A = alloca i16, align 2
store i16 poison, ptr %A, align 2
%B = sdiv i16 1, -1
%res = call i64 @llvm.experimental.cttz.elts.i64.nxv8i16(<vscale x 8 x i16> %a, i1 false)
store i16 %B, ptr %A, align 2
ret i64 %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.experimental.cttz.elts.i64.nxv8i16(<vscale x 8 x i16>, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+v,+zfh -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v,+zfh -O0 -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.nxv8i16: ' %res = call i64 @llvm.experimental.cttz.elts.i64.nxv8i16(<vscale x 8 x i16> %a, i1 false)' (in function: ctz_nxv8i1_no_range)
warning: Instruction selection used fallback path for ctz_nxv8i1_no_range
Occurrences (3):
| Input | Function | Config |
|---|
| cttz-elts.586108ff8f.ll (mutant of cttz-elts.ll) | ctz_nxv8i1_no_range | -mtriple=riscv64 -mattr=+v,+c -O3 -verify-machineinstrs |
| cttz-elts.96797730e4.ll (mutant of cttz-elts.ll) | ctz_nxv8i1_no_range | -mtriple=riscv64 -mattr=+v,+zfh -O0 -verify-machineinstrs |
| cttz-elts.9c220b0c5b.ll (mutant of cttz-elts.ll) | ctz_nxv8i1_no_range | -mtriple=riscv32 -mattr=+v -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.