fallback: legalize: G_INTRINSIC_ROUNDEVEN <N x f64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_INTRINSIC_ROUNDEVEN <N x f64> M
Occurrences:5 in 3 configs, 2 test files, 1 more counted only
Snippet from:fixed-vectors-roundeven-vp.946b5f7cc8.ll (mutant of fixed-vectors-roundeven-vp.ll) @vp_roundeven_v8f64 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zve32x -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.4 = external global i1

define <8 x double> @vp_roundeven_v8f64(<8 x double> %va, <8 x i1> %m, i32 zeroext %evl) {
  %C = icmp sle i32 %evl, 2147483647
  %v = call <8 x double> @llvm.roundeven.v8f64(<8 x double> %va)
  store i1 %C, ptr @G.4, align 1
  ret <8 x double> %v
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <8 x double> @llvm.roundeven.v8f64(<8 x double>) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zve32x -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zve32x -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %17:_(<8 x f64>) = G_INTRINSIC_ROUNDEVEN %0:_ (in function: vp_roundeven_v8f64)
warning: Instruction selection used fallback path for vp_roundeven_v8f64

Occurrences (5):

InputFunctionConfig
fixed-vectors-froundeven.521a129ef0.ll (mutant of fixed-vectors-froundeven.ll)roundeven_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh -O1
fixed-vectors-froundeven.93fc16fe96.ll (mutant of fixed-vectors-froundeven.ll)roundeven_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh -O1
fixed-vectors-froundeven.93fc16fe96.ll (mutant of fixed-vectors-froundeven.ll)roundeven_v8f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh -O1
fixed-vectors-roundeven-vp.946b5f7cc8.ll (mutant of fixed-vectors-roundeven-vp.ll)vp_roundeven_v8f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zve32x -O3
fixed-vectors-roundeven-vp.b4f4f381e7.ll (mutant of fixed-vectors-roundeven-vp.ll)vp_roundeven_v4f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh -O0

Generated 2026-11-29 14:49 UTC.