fallback: legalize: G_FPTOUI <N x i8>,<N x f64>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_FPTOUI <N x i8>,<N x f64> M |
| Occurrences: | 7 in 6 configs, 2 test files, 33 more counted only |
| Snippet from: | fixed-vectors-fp2i.13aed327ae.ll (mutant of fixed-vectors-fp2i.ll) @fp2ui_v2f64_v2i8 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @fp2ui_v2f64_v2i8(ptr %x, ptr %y) {
%a = load <2 x double>, ptr %x, align 16
%d = fptoui <2 x double> %a to <2 x i8>
%G = getelementptr i16, ptr %x, i64 -1
store <2 x i8> %d, ptr %y, align 2
store ptr %G, ptr poison, align 8
ret void
}
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<2 x i8>) = G_FPTOUI %2:_(<2 x f64>) (in function: fp2ui_v2f64_v2i8)
warning: Instruction selection used fallback path for fp2ui_v2f64_v2i8
Occurrences (7):
| Input | Function | Config |
|---|
| fixed-vectors-fp2i.0dd2233c44.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v8f64_v8i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2 |
| fixed-vectors-fp2i.13aed327ae.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2f64_v2i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfh,+zvfbfmin,+f,+d -O2 |
| fixed-vectors-fp2i.749ee5984e.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2f64_v2i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O3 |
| fixed-vectors-fp2i.8a7a385fb2.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2f64_v2i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d,+zihintpause -O3 |
| fixed-vectors-fp2i.9f67d9ea4c.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2f64_v2i8 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -O2 |
| fixed-vectors-fp2i.b1f9a8abb3.ll (mutant of fixed-vectors-fp2i.ll) | fp2ui_v2f64_v2i8 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+f,+d -O1 |
| fixed-vectors-fptoui-vp.fd2a08edd3.ll (mutant of fixed-vectors-fptoui-vp.ll) | vfptoui_v4i8_v4f64 | -mtriple=riscv64 -mattr=+m,+zvfh,+a -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.