fallback: legalize: G_EXTRACT_VECTOR_ELT <vscale x N x i1>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT_VECTOR_ELT <vscale x N x i1> |
| Occurrences: | 18 in 3 configs, 2 test files |
| Snippet from: | vsplats-i1.ll @vsplat_nxv1i1_2 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 1 x i1> @vsplat_nxv1i1_2(i1 %x) {
%head = insertelement <vscale x 1 x i1> poison, i1 %x, i32 0
%splat = shufflevector <vscale x 1 x i1> %head, <vscale x 1 x i1> poison, <vscale x 1 x i32> zeroinitializer
ret <vscale x 1 x i1> %splat
}
Reproduce:
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(i1) = G_EXTRACT_VECTOR_ELT %2:_(<vscale x 1 x i1>), %5:_(i32) (in function: vsplat_nxv1i1_2)
warning: Instruction selection used fallback path for vsplat_nxv1i1_2
Occurrences (18) (first 15):
| Input | Function | Config |
|---|
| pr157177.ll | main | -mtriple=riscv64 -mattr=+v |
| vsplats-i1.ll | vsplat_nxv1i1_2 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv1i1_3 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv2i1_2 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv4i1_2 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv8i1_2 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv16i1_2 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv1i1_2 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv1i1_3 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv2i1_2 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv4i1_2 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv8i1_2 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| vsplats-i1.ll | vsplat_nxv16i1_2 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| pr157177.19fa672330.ll (mutant of pr157177.ll) | main | -mtriple=riscv64 -mattr=+v |
| vsplats-i1.00afa77544.ll (mutant of vsplats-i1.ll) | vsplat_nxv16i1_2 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.