fallback: translate: call llvm.experimental.cttz.elts.i64.nxv16i1
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.cttz.elts.i64.nxv16i1 M |
| Occurrences: | 7 in 5 configs, 1 test files, 19 more counted only |
| Snippet from: | cttz-elts.1134109566.ll (mutant of cttz-elts.ll) @i64_ctz_nxv16i1 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -O2 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i8
define i64 @i64_ctz_nxv16i1(<vscale x 16 x i1> %pg, <vscale x 16 x i1> %a) {
%LGV = load i8, ptr @G, align 1
%C = icmp uge i8 %LGV, 16
%res = call i64 @llvm.experimental.cttz.elts.i64.nxv16i1(<vscale x 16 x i1> %a, i1 true)
store i1 %C, ptr poison, align 1
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=riscv32 -mattr=+v -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -O2 -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 (7):
| Input | Function | Config |
|---|
| cttz-elts.1134109566.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v -O2 -verify-machineinstrs |
| cttz-elts.5f1b890f17.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v -O3 -verify-machineinstrs |
| cttz-elts.6fbb4c7b9e.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v,+zicond,+m -O2 -verify-machineinstrs |
| cttz-elts.6fbb4c7b9e.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1_range | -mtriple=riscv64 -mattr=+v,+zicond,+m -O2 -verify-machineinstrs |
| cttz-elts.a49f9b3bd2.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v -O3 -verify-machineinstrs |
| cttz-elts.a49f9b3bd2.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1_range | -mtriple=riscv64 -mattr=+v -O3 -verify-machineinstrs |
| cttz-elts.fb8685b4f5.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.