fallback: legalize: G_INTRINSIC_LLRINT <N x i64>,<N x f32>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC_LLRINT <N x i64>,<N x f32> M |
| Occurrences: | 6 in 4 configs, 2 test files, 7 more counted only |
| Snippet from: | fixed-vectors-llrint-vp.345baf10a5.ll (mutant of fixed-vectors-llrint-vp.ll) @llrint_v4i64_v4f32 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i128
define <4 x i64> @llrint_v4i64_v4f32(<4 x float> %x, <4 x i1> %m, i32 zeroext %evl) {
%LGV = load i128, ptr @G, align 4
%B = and i128 0, %LGV
store i128 %B, ptr @G, align 4
%a = call <4 x i64> @llvm.llrint.v4i64.v4f32(<4 x float> %x)
ret <4 x i64> %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i64> @llvm.llrint.v4i64.v4f32(<4 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %13:_(<4 x i64>) = G_INTRINSIC_LLRINT %0:_(<4 x f32>) (in function: llrint_v4i64_v4f32)
warning: Instruction selection used fallback path for llrint_v4i64_v4f32
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-llrint-vp.345baf10a5.ll (mutant of fixed-vectors-llrint-vp.ll) | llrint_v4i64_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f -O0 |
| fixed-vectors-llrint-vp.345baf10a5.ll (mutant of fixed-vectors-llrint-vp.ll) | llrint_v8i64_v8f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f -O0 |
| fixed-vectors-llrint-vp.38cd57a596.ll (mutant of fixed-vectors-llrint-vp.ll) | llrint_v8i64_v8f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zcb -O3 -code-model=medium |
| fixed-vectors-llrint-vp.38cd57a596.ll (mutant of fixed-vectors-llrint-vp.ll) | llrint_v16i64_v16f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zcb -O3 -code-model=medium |
| fixed-vectors-llrint-vp.5a866b613c.ll (mutant of fixed-vectors-llrint-vp.ll) | llrint_v3i64_v3f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+f,+d -O1 |
| fixed-vectors-llrint.e5a2a17792.ll (mutant of fixed-vectors-llrint.ll) | llrint_v4i64_v4f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+f,+d,+zvfhmin,+zvfbfmin -O2 |
Generated 2026-11-29 14:49 UTC.