fallback: legalize: G_INTRINSIC_ROUNDEVEN <N x f32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC_ROUNDEVEN <N x f32> M |
| Occurrences: | 4 in 3 configs, 2 test files, 4 more counted only |
| Snippet from: | fixed-vectors-froundeven.79ea27eaca.ll (mutant of fixed-vectors-froundeven.ll) @roundeven_v4f32 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x float> @roundeven_v4f32(<4 x float> %x) {
%B = xor i64 1, 4294967296
%a = call <4 x float> @llvm.roundeven.v4f32(<4 x float> %x)
store i64 %B, ptr poison, align 4
ret <4 x float> %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.roundeven.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=+zvfhmin -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %9:_(<4 x f32>) = G_INTRINSIC_ROUNDEVEN %0:_ (in function: roundeven_v4f32)
warning: Instruction selection used fallback path for roundeven_v4f32
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-froundeven.79ea27eaca.ll (mutant of fixed-vectors-froundeven.ll) | roundeven_v4f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfhmin -O3 |
| fixed-vectors-roundeven-vp.946b5f7cc8.ll (mutant of fixed-vectors-roundeven-vp.ll) | vp_roundeven_v4f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zve32x -O3 |
| fixed-vectors-roundeven-vp.946b5f7cc8.ll (mutant of fixed-vectors-roundeven-vp.ll) | vp_roundeven_v8f32_unmasked | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zve32x -O3 |
| fixed-vectors-roundeven-vp.d8ce73e528.ll (mutant of fixed-vectors-roundeven-vp.ll) | vp_roundeven_v2f32_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+a -O3 |
Generated 2026-11-29 14:49 UTC.