fallback: legalize: G_BITCAST <N x f32>,<N x i32>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_BITCAST <N x f32>,<N x i32>
Occurrences:14 in 5 configs, 2 test files
Snippet from:fixed-vectors-fp.ll @copysign_v4f32 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_v4f32(ptr %x, ptr %y) {
  %a = load <4 x float>, ptr %x, align 16
  %b = load <4 x float>, ptr %y, align 16
  %c = call <4 x float> @llvm.copysign.v4f32(<4 x float> %a, <4 x float> %b)
  store <4 x float> %c, ptr %x, align 16
  ret void
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.copysign.v4f32(<4 x float>, <4 x float>) #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:_(<4 x f32>) = G_BITCAST %23:_(<4 x i32>) (in function: copysign_v4f32)
warning: Instruction selection used fallback path for copysign_v4f32

Occurrences (14):

InputFunctionConfig
combine-is_fpclass.llextract_bitcast_oob_idx-mtriple=riscv64 -mattr=+v,+f,+d
fixed-vectors-fp.llcopysign_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v4f32-mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_vf_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-fp.llcopysign_neg_v4f32-mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
combine-is_fpclass.9d83bfcdb0.ll (mutant of combine-is_fpclass.ll)extract_bitcast_oob_idx-mtriple=riscv64 -mattr=+v,+f,+d

Generated 2026-11-29 14:49 UTC.