fallback: translate: call llvm.trunc.nxv1f64
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.trunc.nxv1f64 |
| Occurrences: | 32 in 6 configs, 3 test files |
| Snippet from: | ftrunc-sdnode.ll @trunc_nxv1f64 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 1 x double> @trunc_nxv1f64(<vscale x 1 x double> %x) {
%a = call <vscale x 1 x double> @llvm.trunc.nxv1f64(<vscale x 1 x double> %x)
ret <vscale x 1 x double> %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x double> @llvm.trunc.nxv1f64(<vscale x 1 x double>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -target-abi=ilp32d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.trunc.nxv1f64: ' %a = call <vscale x 1 x double> @llvm.trunc.nxv1f64(<vscale x 1 x double> %x)' (in function: trunc_nxv1f64)
warning: Instruction selection used fallback path for trunc_nxv1f64
Occurrences (32) (first 15):
Generated 2026-11-29 14:49 UTC.