fallback: legalize: G_INTRINSIC_LRINT <N x i32>,<N x f32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC_LRINT <N x i32>,<N x f32> M |
| Occurrences: | 7 in 4 configs, 1 test files, 32 more counted only |
| Snippet from: | fixed-vectors-lrint-vp.24fddc2778.ll (mutant of fixed-vectors-lrint-vp.ll) @lrint_v3f32 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zvbb -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i32
define <3 x i32> @lrint_v3f32(<3 x float> %x, <3 x i1> %m, i32 zeroext %evl) {
%B = and i32 %evl, 42
%a = call <3 x i32> @llvm.lrint.v3i32.v3f32(<3 x float> %x)
store i32 %B, ptr @G.3, align 4
ret <3 x i32> %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <3 x i32> @llvm.lrint.v3i32.v3f32(<3 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zvbb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zvbb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %12:_(<3 x i32>) = G_INTRINSIC_LRINT %0:_(<3 x f32>) (in function: lrint_v3f32)
warning: Instruction selection used fallback path for lrint_v3f32
Occurrences (7):
| Input | Function | Config |
|---|
| fixed-vectors-lrint-vp.24fddc2778.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v3f32 | -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_v4f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O3 |
| fixed-vectors-lrint-vp.881c34efcf.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v16f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O3 |
| fixed-vectors-lrint-vp.8d1970382a.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v4f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O2 |
| fixed-vectors-lrint-vp.8d1970382a.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v16f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O2 |
| fixed-vectors-lrint-vp.be15144dd6.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v3f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O0 |
| fixed-vectors-lrint-vp.be15144dd6.ll (mutant of fixed-vectors-lrint-vp.ll) | lrint_v16f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d -O0 |
Generated 2026-11-29 14:49 UTC.