fallback: legalize: G_LOAD <32 x s16>,p0
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_LOAD <32 x s16>,p0 NEW |
| Occurrences: | 4 in 4 configs, 1 test files |
| Snippet from: | fastcc-without-f-reg.1b6b6aa46d.ll (mutant of fastcc-without-f-reg.ll) @caller_half_32 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
declare fastcc half @callee_half_32(<32 x half>) #0
; Function Attrs: nounwind
define half @caller_half_32(<32 x half> %A) #0 {
%A2 = alloca i1, align 1
store i1 poison, ptr %A2, align 1
%C1 = fcmp uno float f0x7F7FFFFF, +qnan
%C = call fastcc half @callee_half_32(<32 x half> %A)
store i1 %C1, ptr %A2, align 1
ret half %C
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %0:_(<32 x s16>) = G_LOAD %1:_(p0) :: (load (<32 x s16>)) (in function: caller_half_32)
warning: Instruction selection used fallback path for caller_half_32
Occurrences (4):
| Input | Function | Config |
|---|
| fastcc-without-f-reg.1b6b6aa46d.ll (mutant of fastcc-without-f-reg.ll) | caller_half_32 | -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs |
| fastcc-without-f-reg.24469fd208.ll (mutant of fastcc-without-f-reg.ll) | caller_half_32 | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs |
| fastcc-without-f-reg.33b41928e2.ll (mutant of fastcc-without-f-reg.ll) | caller_half_32 | -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs |
| fastcc-without-f-reg.a2fd847557.ll (mutant of fastcc-without-f-reg.ll) | caller_half_32 | -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.