fallback: legalize: G_EXTRACT_VECTOR_ELT s32,<16 x s32>,s64
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT s32,<16 x s32>,s64 NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | fastcc-int.e9ff2000a3.ll (mutant of fastcc-int.ll) @callee via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <16 x i32>
; Function Attrs: nounwind
define fastcc i32 @callee(<16 x i32> %A) #0 {
%B1 = xor <16 x i32> %A, splat (i32 -1)
%B = extractelement <16 x i32> %B1, i32 0
%B2 = sub <16 x i32> %A, zeroinitializer
store <16 x i32> %B2, ptr @G, align 64
store <16 x i32> %B1, ptr poison, align 64
ret i32 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %25:_(s32) = G_EXTRACT_VECTOR_ELT %24:_(<16 x s32>), %26:_(s64) (in function: callee)
warning: Instruction selection used fallback path for callee
Occurrences (1):
| Input | Function | Config |
|---|
| fastcc-int.e9ff2000a3.ll (mutant of fastcc-int.ll) | callee | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.