fallback: translate: call llvm.experimental.cttz.elts.i64.nxv16i1
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.cttz.elts.i64.nxv16i1 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | cttz-elts.52a13f0a22.ll (mutant of cttz-elts.ll) @i64_ctz_nxv16i1 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <4 x float>
@G.1 = external global <4 x float>
define i64 @i64_ctz_nxv16i1(<vscale x 16 x i1> %pg, <vscale x 16 x i1> %a) {
%A = alloca <4 x float>, align 16
store <4 x float> poison, ptr %A, align 16
%LGV1 = load <4 x float>, ptr @G.1, align 16
%LGV = load <4 x float>, ptr @G, align 16
%B = fdiv <4 x float> %LGV, %LGV1
%res = call i64 @llvm.experimental.cttz.elts.i64.nxv16i1(<vscale x 16 x i1> %a, i1 true)
store <4 x float> %B, ptr %A, align 16
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 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -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 (2):
| Input | Function | Config |
|---|
| cttz-elts.52a13f0a22.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv32 -mattr=+v |
| cttz-elts.f3d0db9f98.ll (mutant of cttz-elts.ll) | i64_ctz_nxv16i1 | -mtriple=riscv64 -mattr=+v |
Generated 2026-11-29 14:49 UTC.