fallback: translate: call llvm.experimental.cttz.elts.i32.nxv16i1
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.cttz.elts.i32.nxv16i1 M |
| Occurrences: | 3 in 2 configs, 1 test files, 20 more counted only |
| Snippet from: | cttz-elts.9c220b0c5b.ll (mutant of cttz-elts.ll) @ctz_nxv16i1_poison via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -O0 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
define i32 @ctz_nxv16i1_poison(<vscale x 16 x i1> %pg, <vscale x 16 x i1> %a) {
%LGV = load i1, ptr @G, align 1
%B = shl i1 %LGV, false
%res = call i32 @llvm.experimental.cttz.elts.i32.nxv16i1(<vscale x 16 x i1> %a, i1 true)
store i1 %B, ptr poison, align 1
ret i32 %res
}
; 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 -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -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.i32.nxv16i1: ' %res = call i32 @llvm.experimental.cttz.elts.i32.nxv16i1(<vscale x 16 x i1> %a, i1 true)' (in function: ctz_nxv16i1_poison)
warning: Instruction selection used fallback path for ctz_nxv16i1_poison
Occurrences (3):
| Input | Function | Config |
|---|
| cttz-elts.1f3ba17428.ll (mutant of cttz-elts.ll) | ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v -O0 -verify-machineinstrs |
| cttz-elts.9c220b0c5b.ll (mutant of cttz-elts.ll) | ctz_nxv16i1_poison | -mtriple=riscv32 -mattr=+v -O0 -verify-machineinstrs |
| cttz-elts.caa802db84.ll (mutant of cttz-elts.ll) | ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v,+zfhmin,+zbkb -O1 -code-model=small -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.