fallback: legalize: G_INTRINSIC_LRINT <N x i32>,<N x f64>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC_LRINT <N x i32>,<N x f64> M |
| Occurrences: | 5 in 4 configs, 2 test files, 10 more counted only |
| Snippet from: | fixed-vectors-lrint.c2a7d6c5dd.ll (mutant of fixed-vectors-lrint.ll) @lrint_v2f64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x i32> @lrint_v2f64(<2 x double> %x) {
%a = call <2 x i32> @llvm.lrint.v2i32.v2f64(<2 x double> %x)
%B = sub <2 x i32> %a, %a
store <2 x i32> %B, ptr poison, align 8
ret <2 x i32> %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.lrint.v2i32.v2f64(<2 x double>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<2 x i32>) = G_INTRINSIC_LRINT %0:_(<2 x f64>) (in function: lrint_v2f64)
warning: Instruction selection used fallback path for lrint_v2f64
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-lrint-vp.24fddc2778.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v8f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zvbb -O3 |
| fixed-vectors-lrint-vp.881c34efcf.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v8f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O3 |
| fixed-vectors-lrint.8b16b933a2.ll (mutant of fixed-vectors-lrint.ll) | lrint_v8f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zvfhmin,+zvfbfmin,+c -O1 |
| fixed-vectors-lrint.c2a7d6c5dd.ll (mutant of fixed-vectors-lrint.ll) | lrint_v2f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O3 |
| fixed-vectors-lrint.c2a7d6c5dd.ll (mutant of fixed-vectors-lrint.ll) | lrint_v4f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d,+zvfhmin,+zvfbfmin,+zvfh -O3 |
Generated 2026-11-29 14:49 UTC.