fallback: legalize: G_FDIV <3 x s32>
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_FDIV <3 x s32> NEW |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | llvm.exp10.395b542be5.ll (mutant of llvm.exp10.ll) @exp10_v3f32 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <3 x float> @exp10_v3f32(<3 x float> %x) {
%A = alloca <3 x float>, align 16
store <3 x float> poison, ptr %A, align 16
%r = call <3 x float> @llvm.exp10.v3f32(<3 x float> %x)
%B = fdiv <3 x float> %x, splat (float f0x7F7FFFFF)
store <3 x float> %B, ptr %A, align 16
ret <3 x float> %r
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <3 x float> @llvm.exp10.v3f32(<3 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<3 x s32>) = G_FDIV %0:_, %8:_ (in function: exp10_v3f32)
warning: Instruction selection used fallback path for exp10_v3f32
Occurrences (2):
| Input | Function | Config |
|---|
| llvm.exp10.395b542be5.ll (mutant of llvm.exp10.ll) | exp10_v3f32 | -mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d |
| llvm.exp10.9def224b19.ll (mutant of llvm.exp10.ll) | exp10_v3f32 | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d |
Generated 2026-10-15 08:05 UTC.