fallback: legalize: G_OR <2 x s16>

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_OR <2 x s16> NEW
Occurrences:1 in 1 configs, 1 test files
Snippet from:rvp-simd-32.8040ecd92f.ll (mutant of rvp-simd-32.ll) @test_or_h via llvm-extract
Config:-mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i1

define <2 x i16> @test_or_h(<2 x i16> %a, <2 x i16> %b) {
  %LGV = load i1, ptr @G.1, align 1
  %res = or <2 x i16> %a, %b
  br i1 %LGV, label %T, label %F

BB:                                               ; preds = %F, %T
  ret <2 x i16> %res

T:                                                ; preds = %T, %0
  br i1 %LGV, label %BB, label %T

F:                                                ; preds = %0
  br label %BB
}

Reproduce:

llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (1):

InputFunctionConfig
rvp-simd-32.8040ecd92f.ll (mutant of rvp-simd-32.ll)test_or_h-mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.