fallback: translate: call llvm.cttz.nxv16i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.cttz.nxv16i64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 6 more counted only |
| Snippet from: | cttz-vp.d80034ac03.ll (mutant of cttz-vp.ll) @vp_cttz_nxv16i64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvbb,+m,+zbkb -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global <4 x i1>
define <vscale x 16 x i64> @vp_cttz_nxv16i64(<vscale x 16 x i64> %va, <vscale x 16 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 16 x i64> @llvm.cttz.nxv16i64(<vscale x 16 x i64> %va, i1 false)
%C = fcmp uno <4 x float> zeroinitializer, zeroinitializer
store <4 x i1> %C, ptr @G.1, align 1
ret <vscale x 16 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i64> @llvm.cttz.nxv16i64(<vscale x 16 x i64>, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvbb,+m,+zbkb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvbb,+m,+zbkb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.cttz.nxv16i64: ' %v = call <vscale x 16 x i64> @llvm.cttz.nxv16i64(<vscale x 16 x i64> %va, i1 false)' (in function: vp_cttz_nxv16i64)
warning: Instruction selection used fallback path for vp_cttz_nxv16i64
Occurrences (3):
| Input | Function | Config |
|---|
| cttz-vp.6cf7423c54.ll (mutant of cttz-vp.ll) | vp_cttz_zero_undef_nxv16i64_unmasked | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvbb,+zve64d -O1 |
| cttz-vp.ca6d6d9db9.ll (mutant of cttz-vp.ll) | vp_cttz_zero_undef_nxv16i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+v,+m,+c -O1 -code-model=small |
| cttz-vp.d80034ac03.ll (mutant of cttz-vp.ll) | vp_cttz_nxv16i64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvbb,+m,+zbkb -O0 |
Generated 2026-11-29 14:49 UTC.