fallback: legalize: G_OR <N x i1>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:legalize: G_OR <N x i1> M
Occurrences:4 in 3 configs, 3 test files, 3 more counted only
Snippet from:fixed-vectors-vadd-vp-mask.4ae147e717.ll (mutant of fixed-vectors-vadd-vp-mask.ll) @vadd_vv_v2i1 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x i1> @vadd_vv_v2i1(<2 x i1> %va, <2 x i1> %b, <2 x i1> %m, i32 zeroext %evl) {
  %B = or <2 x i1> %b, %va
  ret <2 x i1> %B
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %13:_(<2 x i1>) = G_OR %1:_, %0:_ (in function: vadd_vv_v2i1)
warning: Instruction selection used fallback path for vadd_vv_v2i1

Occurrences (4):

InputFunctionConfig
fixed-vectors-marith-vp.df94f7bd34.ll (mutant of fixed-vectors-marith-vp.ll)or_v2i1-mtriple=riscv64 -verify-machineinstrs -mattr=+c -O0
fixed-vectors-marith-vp.ef4c0608ab.ll (mutant of fixed-vectors-marith-vp.ll)or_v2i1-mtriple=riscv32 -verify-machineinstrs -O0
fixed-vectors-vadd-vp-mask.4ae147e717.ll (mutant of fixed-vectors-vadd-vp-mask.ll)vadd_vv_v2i1-mtriple=riscv32 -verify-machineinstrs -O0
fixed-vectors-vfclass.fb176f7ecd.ll (mutant of fixed-vectors-vfclass.ll)isnormal_v2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+a -O3

Generated 2026-11-29 14:49 UTC.