fallback: translate: call llvm.ctlz.nxv16i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.ctlz.nxv16i64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 3 more counted only |
| Snippet from: | ctlz-vp.428a783c60.ll (mutant of ctlz-vp.ll) @vp_ctlz_zero_undef_nxv16i64_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zvfh -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 16 x i64> @vp_ctlz_zero_undef_nxv16i64_unmasked(<vscale x 16 x i64> %va, i32 zeroext %evl) {
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%C = icmp sge i32 %evl, %evl
%v = call <vscale x 16 x i64> @llvm.ctlz.nxv16i64(<vscale x 16 x i64> %va, i1 true)
store i1 %C, ptr %A, 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.ctlz.nxv16i64(<vscale x 16 x i64>, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zvfh -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zvfh -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.ctlz.nxv16i64: ' %v = call <vscale x 16 x i64> @llvm.ctlz.nxv16i64(<vscale x 16 x i64> %va, i1 true)' (in function: vp_ctlz_zero_undef_nxv16i64_unmasked)
warning: Instruction selection used fallback path for vp_ctlz_zero_undef_nxv16i64_unmasked
Occurrences (3):
| Input | Function | Config |
|---|
| ctlz-vp.428a783c60.ll (mutant of ctlz-vp.ll) | vp_ctlz_zero_undef_nxv16i64_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+m,+zvfh -O1 |
| ctlz-vp.e2404d7f5f.ll (mutant of ctlz-vp.ll) | vp_ctlz_zero_undef_nxv16i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O1 -code-model=medium |
| ctlz-vp.edec1da153.ll (mutant of ctlz-vp.ll) | vp_ctlz_zero_undef_nxv16i64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvbb,+m -O3 |
Generated 2026-11-29 14:49 UTC.