fallback: legalize: G_BITCAST <N x f64>,<N x i64>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_BITCAST <N x f64>,<N x i64>
Occurrences:16 in 4 configs, 1 test files
Snippet from:fixed-vectors-fp.ll @copysign_v2f64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @copysign_v2f64(ptr %x, ptr %y) {
  %a = load <2 x double>, ptr %x, align 16
  %b = load <2 x double>, ptr %y, align 16
  %c = call <2 x double> @llvm.copysign.v2f64(<2 x double> %a, <2 x double> %b)
  store <2 x double> %c, ptr %x, align 16
  ret void
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.copysign.v2f64(<2 x double>, <2 x double>) #0

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

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x f64>) = G_BITCAST %17:_(<2 x i64>) (in function: copysign_v2f64)
warning: Instruction selection used fallback path for copysign_v2f64

Occurrences (16) (first 15):

InputFunctionConfig
fixed-vectors-fp.llcopysign_v2f64-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v2f64-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v2f64-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_ext_v2f64_v2f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_v2f64-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v2f64-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v2f64-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_ext_v2f64_v2f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_v2f64-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v2f64-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v2f64-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_ext_v2f64_v2f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_v2f64-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v2f64-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v2f64-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.