fallback: translate: call llvm.experimental.cttz.elts.i32.nxv16i1
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.cttz.elts.i32.nxv16i1 M |
| Occurrences: | 5 in 5 configs, 1 test files, 17 more counted only |
| Snippet from: | cttz-elts.1134109566.ll (mutant of cttz-elts.ll) @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.1 = external global bfloat
define i32 @ctz_nxv16i1(<vscale x 16 x i1> %pg, <vscale x 16 x i1> %a) {
%LGV = load bfloat, ptr @G.1, align 2
%res = call i32 @llvm.experimental.cttz.elts.i32.nxv16i1(<vscale x 16 x i1> %a, i1 false)
%B = fdiv bfloat 1.000000e+00, %LGV
store bfloat %B, ptr poison, align 2
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 -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.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 (5):
| Input | Function | Config |
|---|
| cttz-elts.1134109566.ll (mutant of cttz-elts.ll) | ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v -O2 -verify-machineinstrs |
| cttz-elts.7bbf8d4c34.ll (mutant of cttz-elts.ll) | ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v,+zfh,+a -O1 -verify-machineinstrs |
| cttz-elts.a49f9b3bd2.ll (mutant of cttz-elts.ll) | ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v -O3 -verify-machineinstrs |
| cttz-elts.c32fd22f2b.ll (mutant of cttz-elts.ll) | ctz_nxv16i1_poison | -mtriple=riscv32 -mattr=+v -O3 -verify-machineinstrs |
| cttz-elts.ec826de83d.ll (mutant of cttz-elts.ll) | ctz_nxv16i1_poison | -mtriple=riscv64 -mattr=+v -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.