fallback: legalize: G_INSERT_VECTOR_ELT <3 x s32>,s32,s64
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_INSERT_VECTOR_ELT <3 x s32>,s32,s64 NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | llvm.exp10.ff89ebdab5.ll (mutant of llvm.exp10.ll) @exp10_v3f32 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global float
@G.1 = external global i64
define <3 x float> @exp10_v3f32(<3 x float> %x) {
%LGV1 = load i64, ptr @G.1, align 4
%LGV = load float, ptr @G, align 4
%r = call <3 x float> @llvm.exp10.v3f32(<3 x float> %x)
%I = insertelement <3 x float> %x, float %LGV, i64 %LGV1
store <3 x float> %I, ptr poison, 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=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<3 x s32>) = G_INSERT_VECTOR_ELT %0:_, %7:_(s32), %5:_(s64) (in function: exp10_v3f32)
warning: Instruction selection used fallback path for exp10_v3f32
Occurrences (1):
| Input | Function | Config |
|---|
| llvm.exp10.ff89ebdab5.ll (mutant of llvm.exp10.ll) | exp10_v3f32 | -mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d |
Generated 2026-10-15 08:05 UTC.