fallback: legalize: G_SITOFP <N x f32>,<N x i32>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_SITOFP <N x f32>,<N x i32> M |
| Occurrences: | 6 in 6 configs, 1 test files |
| Snippet from: | fixed-vectors-i2fp.2cf2b6175d.ll (mutant of fixed-vectors-i2fp.ll) @si2fp_v8i32_v8f32 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <4 x i32>
define void @si2fp_v8i32_v8f32(ptr %x, ptr %y) {
%LGV = load <4 x i32>, ptr @G, align 16
%a = load <8 x i32>, ptr %x, align 32
%d = sitofp <8 x i32> %a to <8 x float>
store <8 x float> %d, ptr %y, align 32
%B = shl <4 x i32> %LGV, splat (i32 65536)
store <4 x i32> %B, ptr @G, align 16
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<8 x f32>) = G_SITOFP %4:_(<8 x i32>) (in function: si2fp_v8i32_v8f32)
warning: Instruction selection used fallback path for si2fp_v8i32_v8f32
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-i2fp.2cf2b6175d.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i32_v8f32 | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs |
| fixed-vectors-i2fp.5bae2ed01e.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i32_v8f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs |
| fixed-vectors-i2fp.6d3bdca210.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i32_v8f32 | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs |
| fixed-vectors-i2fp.a103b62c50.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i32_v8f32 | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs |
| fixed-vectors-i2fp.cb9abc3cd2.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i32_v8f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs |
| fixed-vectors-i2fp.fc42a0d28b.ll (mutant of fixed-vectors-i2fp.ll) | si2fp_v8i32_v8f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.