fallback: translate: call llvm.ctlz.nxv16i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.ctlz.nxv16i64 M |
| Occurrences: | 3 in 2 configs, 1 test files, 7 more counted only |
| Snippet from: | ctlz-vp.aa55314a2e.ll (mutant of ctlz-vp.ll) @vp_ctlz_zero_undef_nxv16i64_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
define <vscale x 16 x i64> @vp_ctlz_zero_undef_nxv16i64_unmasked(<vscale x 16 x i64> %va, i32 zeroext %evl) {
%C = icmp ule i32 %evl, 65536
%v = call <vscale x 16 x i64> @llvm.ctlz.nxv16i64(<vscale x 16 x i64> %va, i1 true)
store i1 %C, ptr @G, 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=+d,+zvfh,+v,+m -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0 -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.16551b842f.ll (mutant of ctlz-vp.ll) | vp_ctlz_zero_undef_nxv16i64_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0 |
| ctlz-vp.61099f4de3.ll (mutant of ctlz-vp.ll) | vp_ctlz_nxv16i64_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvbb,+m -O1 -code-model=medium |
| ctlz-vp.aa55314a2e.ll (mutant of ctlz-vp.ll) | vp_ctlz_zero_undef_nxv16i64_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0 |
Generated 2026-11-29 14:49 UTC.