fallback: legalize: G_FDIV <32 x s16>
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_FDIV <32 x s16> NEW |
| Occurrences: | 6 in 6 configs, 1 test files |
| Snippet from: | fastcc-without-f-reg.322150b60d.ll (mutant of fastcc-without-f-reg.ll) @callee_half_32 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | https://godbolt.org/z/v7z98v5GY (llc-assertions-trunk, checked 2026-10-14 11:50 UTC): G reproduces |
Snippet:
define fastcc <32 x half> @callee_half_32() {
%B1 = fdiv <32 x half> zeroinitializer, zeroinitializer
ret <32 x half> %B1
}
Compiler Explorer panes:
| Pane | Options | Exit | Insts | stderr |
|---|
| GlobalISel | -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 0 | 19 | remark: <unknown>:0:0: unable to legalize instruction: %3:_(<32 x s16>) = G_FDIV %1:_, %1:_ (in function: callee_half_32) warning: Instruction selection used fallback path for callee_half_32 |
| SelectionDAG (control) | -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -global-isel=0 | 0 | 19 | - |
Reproduce:
llc -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<32 x s16>) = G_FDIV %1:_, %1:_ (in function: callee_half_32)
warning: Instruction selection used fallback path for callee_half_32
Occurrences (6):
| Input | Function | Config |
|---|
| fastcc-without-f-reg.322150b60d.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs |
| fastcc-without-f-reg.78d5eaffa4.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs |
| fastcc-without-f-reg.a3975fccee.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs |
| fastcc-without-f-reg.ab00ba6fcf.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs |
| fastcc-without-f-reg.db9699d106.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs |
| fastcc-without-f-reg.eff0cd1ff7.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.