fallback: translate: call llvm.trunc.nxv1f32
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.trunc.nxv1f32 |
| Occurrences: | 26 in 6 configs, 2 test files |
| Snippet from: | ftrunc-sdnode.ll @trunc_nxv1f32 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 float> @trunc_nxv1f32(<vscale x 1 x float> %x) {
%a = call <vscale x 1 x float> @llvm.trunc.nxv1f32(<vscale x 1 x float> %x)
ret <vscale x 1 x float> %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x float> @llvm.trunc.nxv1f32(<vscale x 1 x float>) #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.nxv1f32: ' %a = call <vscale x 1 x float> @llvm.trunc.nxv1f32(<vscale x 1 x float> %x)' (in function: trunc_nxv1f32)
warning: Instruction selection used fallback path for trunc_nxv1f32
Occurrences (26) (first 15):
Generated 2026-11-29 14:49 UTC.