fallback: legalize: G_IMPLICIT_DEF <N x i64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_IMPLICIT_DEF <N x i64> M |
| Occurrences: | 4 in 4 configs, 4 test files, 212 more counted only |
| Snippet from: | insertelt-i1.e0c032ffa1.ll (mutant of insertelt-i1.ll) @insertelt_nxv64i1 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a,+zbb -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 64 x i1> @insertelt_nxv64i1(<vscale x 64 x i1> %x, i1 %elt) {
%A = alloca <2 x i64>, align 16
store <2 x i64> poison, ptr %A, align 16
%y = insertelement <vscale x 64 x i1> %x, i1 %elt, i64 2
%B = shl <2 x i64> zeroinitializer, splat (i64 -1)
store <2 x i64> %B, ptr %A, align 16
ret <vscale x 64 x i1> %y
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a,+zbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a,+zbb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x i64>) = G_IMPLICIT_DEF (in function: insertelt_nxv64i1)
warning: Instruction selection used fallback path for insertelt_nxv64i1
Occurrences (4):
| Input | Function | Config |
|---|
| aclic-interrupt-frame-pointer.58af7d989b.ll (mutant of aclic-interrupt-frame-pointer.ll) | m_preemptible_fp_large | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-smnip,+experimental-ssnip,+experimental-ssip,+zfhmin -O0 |
| insertelt-i1.e0c032ffa1.ll (mutant of insertelt-i1.ll) | insertelt_nxv64i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a,+zbb -O0 |
| vadd.d764c69c56.ll (mutant of vadd.ll) | intrinsic_vadd_mask_vv_nxv8i8_nxv8i8_nxv8i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
| wide-scalar-shift-by-byte-multiple-legalization.612682ceaa.ll (mutant of wide-scalar-shift-by-byte-multiple-legalization.ll) | shl_16bytes | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvkb,+zicsr -O0 |
Generated 2026-11-29 14:49 UTC.