fallback: legalize: G_XOR <4 x s32>

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_XOR <4 x s32> NEW
Occurrences:30 in 28 configs, 8 test files
Snippet from:xqciac.1819d69abf.ll (mutant of xqciac.ll) @select8193 via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -mattr=+m,+xqciac,+zba -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:https://godbolt.org/z/dzqx4Mzzf (llc-assertions-trunk, checked 2026-10-15 08:05 UTC): G reproduces

Snippet:

define <4 x i32> @select8193(<4 x i32> %LGV1) {
  %B = xor <4 x i32> zeroinitializer, %LGV1
  ret <4 x i32> %B
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -mattr=+m,+xqciac,+zba -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*09remark: <unknown>:0:0: unable to legalize instruction: %5:_(<4 x s32>) = G_XOR %3:_, %0:_ (in function: select8193)
warning: Instruction selection used fallback path for select8193
SelectionDAG (control)-mtriple=riscv32 -mattr=+m,+xqciac,+zba -verify-machineinstrs -global-isel=009-

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<4 x s32>) = G_XOR %3:_, %0:_ (in function: select8193)
warning: Instruction selection used fallback path for select8193

Occurrences (30):

InputFunctionConfig
calling-conv-sext-zext.a58d1489d2.ll (mutant of calling-conv-sext-zext.ll)ret_callresult_anyint32_as_anyint32-mtriple=riscv32 -verify-machineinstrs
double_reduct.4ac87308f8.ll (mutant of double_reduct.ll)add_i32-mtriple=riscv32 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=ilp32d -verify-machineinstrs
double_reduct.ec8d681823.ll (mutant of double_reduct.ll)add_i32-mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs
i64-icmp.e22aa19eb9.ll (mutant of i64-icmp.ll)icmp_uge_constant_neg_2049-mtriple=riscv64 -verify-machineinstrs
imm.0ecf637bb5.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv64 -verify-machineinstrs
imm.0fea52220b.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -riscv-use-rematerializable-movimm
imm.1748161eda.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -mattr=+zba -verify-machineinstrs
imm.59f94ff54a.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -riscv-use-rematerializable-movimm
imm.760cffb097.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -mattr=+xtheadbb -verify-machineinstrs
imm.77ccc85f6c.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs
imm.8bb464b7eb.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -mattr=+zbs -verify-machineinstrs
imm.ba0b2a3427.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs
imm.c9831a5983.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -mattr=+xqcili -verify-machineinstrs
imm.c995b1857f.ll (mutant of imm.ll)imm_2reg_1-mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -mattr=+zbb -verify-machineinstrs
lack-of-signed-truncation-check.5ba41e17f5.ll (mutant of lack-of-signed-truncation-check.ll)add_ugecmp_bad_i16_i4-mtriple=riscv32-unknown-linux-gnu -mattr=+zbb
lack-of-signed-truncation-check.7b35db3a6e.ll (mutant of lack-of-signed-truncation-check.ll)add_ugecmp_bad_i16_i4-mtriple=riscv32-unknown-linux-gnu
lack-of-signed-truncation-check.b8633e60c1.ll (mutant of lack-of-signed-truncation-check.ll)add_ugecmp_bad_i16_i4-mtriple=riscv64-unknown-linux-gnu
lack-of-signed-truncation-check.bfa067550d.ll (mutant of lack-of-signed-truncation-check.ll)add_ugecmp_bad_i16_i4-mtriple=riscv64-unknown-linux-gnu -mattr=+zbb
min-max.18e06d17bc.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv32
min-max.1feca288d3.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv32 -mattr=+zbb
min-max.2f41b2b43b.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv32 -mattr=+short-forward-branch-ialu
min-max.95417c063d.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv32 -mattr=+xqcicm,+xqcics,+xqcicli,+zca,+short-forward-branch-ialu,+conditional-cmv-fusion -verify-machineinstrs
min-max.b973ef3e39.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv64
min-max.e892ff5995.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv64 -mattr=+short-forward-branch-ialu
min-max.eac84770a3.ll (mutant of min-max.ll)smin_i32_negone-mtriple=riscv64 -mattr=+zbb
rv32zbkb.6884f3e754.ll (mutant of rv32zbkb.ll)packh_zero_i8-mtriple=riscv32 -mattr=+zbkb -verify-machineinstrs
rv32zbkb.d4c765a343.ll (mutant of rv32zbkb.ll)packh_zero_i8-mtriple=riscv32 -verify-machineinstrs
xqciac.1819d69abf.ll (mutant of xqciac.ll)select8193-mtriple=riscv32 -mattr=+m,+xqciac,+zba -verify-machineinstrs
xqciac.221c02d353.ll (mutant of xqciac.ll)select8193-mtriple=riscv32 -mattr=+m,+xqciac -verify-machineinstrs
xqciac.d8cfe65a8e.ll (mutant of xqciac.ll)select8193-mtriple=riscv32 -mattr=+m -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.