fallback: legalize: G_EXTRACT_VECTOR_ELT s32,<2 x s32>
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT s32,<2 x s32> NEW |
| Occurrences: | 5 in 5 configs, 1 test files |
| Snippet from: | fp-fcanonicalize.6a98eab803.ll (mutant of fp-fcanonicalize.ll) @fcanonicalize_v2f32 via llvm-extract + llvm-reduce |
| Config: | --mtriple=riscv32 --mattr=+d,-zfh |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | https://godbolt.org/z/7M5z6Mj9x (llc-assertions-trunk, checked 2026-10-14 11:50 UTC): G reproduces |
Snippet:
define float @fcanonicalize_v2f32(i1 %LGV) {
%E = extractelement <2 x float> zeroinitializer, i1 %LGV
ret float %E
}
Compiler Explorer panes:
| Pane | Options | Exit | Insts | stderr |
|---|
| GlobalISel | --mtriple=riscv32 --mattr=+d,-zfh -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 0 | 10 | remark: <unknown>:0:0: unable to legalize instruction: %2:_(s32) = G_EXTRACT_VECTOR_ELT %3:_(<2 x s32>), %5:_(s32) (in function: fcanonicalize_v2f32) warning: Instruction selection used fallback path for fcanonicalize_v2f32 |
| SelectionDAG (control) | --mtriple=riscv32 --mattr=+d,-zfh -global-isel=0 | 0 | 10 | - |
Reproduce:
llc --mtriple=riscv32 --mattr=+d,-zfh -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc --mtriple=riscv32 --mattr=+d,-zfh -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(s32) = G_EXTRACT_VECTOR_ELT %3:_(<2 x s32>), %5:_(s32) (in function: fcanonicalize_v2f32)
warning: Instruction selection used fallback path for fcanonicalize_v2f32
Occurrences (5):
| Input | Function | Config |
|---|
| fp-fcanonicalize.6a98eab803.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f32 | --mtriple=riscv32 --mattr=+d,-zfh |
| fp-fcanonicalize.a73d3ec331.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f32 | -mtriple=riscv32 -mattr=+zhinx -target-abi=ilp32 -verify-machineinstrs |
| fp-fcanonicalize.e116aa5722.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f32 | --mtriple=riscv32 |
| fp-fcanonicalize.f45e7686da.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f32 | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs |
| fp-fcanonicalize.f60a9ed139.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f32 | --mtriple=riscv32 --mattr=+d,+zfh |
Generated 2026-10-15 08:05 UTC.