fallback: legalize: G_AND <2 x s64>

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:legalize: G_AND <2 x s64> NEW
Occurrences:42 in 27 configs, 13 test files
Snippet from:unaligned-load-store.56b23882de.ll (mutant of unaligned-load-store.ll) @store_i16 via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -mattr=+unaligned-scalar-mem -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:https://godbolt.org/z/cWs9Mh6fa (llc-assertions-trunk, checked 2026-10-14 11:04 UTC): G reproduces

Snippet:

define <2 x i64> @store_i16(<2 x i64> %LGV) {
  %B = and <2 x i64> zeroinitializer, %LGV
  ret <2 x i64> %B
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -mattr=+unaligned-scalar-mem -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*05remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_AND %3:_, %0:_ (in function: store_i16)
warning: Instruction selection used fallback path for store_i16
SelectionDAG (control)-mtriple=riscv32 -mattr=+unaligned-scalar-mem -verify-machineinstrs -global-isel=005-

Reproduce:

llc -mtriple=riscv32 -mattr=+unaligned-scalar-mem -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+unaligned-scalar-mem -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_AND %3:_, %0:_ (in function: store_i16)
warning: Instruction selection used fallback path for store_i16

Occurrences (42):

InputFunctionConfig
atomic-rmw-discard.36199c8aac.ll (mutant of atomic-rmw-discard.ll)amoor_d_discard-O3 -mtriple=riscv64 -mattr=+a -verify-machineinstrs
atomic-rmw-discard.67b1352c0f.ll (mutant of atomic-rmw-discard.ll)amoor_d_discard-O3 -mtriple=riscv32 -mattr=+a -verify-machineinstrs
clmul.1b3531a208.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv64 -mattr=+m,+zbc -verify-machineinstrs
clmul.1bfdb490a5.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv64 -mattr=+m -verify-machineinstrs
clmul.29604ed1cf.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv32 -mattr=+m,+zbc -verify-machineinstrs
clmul.47cd8d0ddb.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv32 -mattr=+m,+zbs -verify-machineinstrs
clmul.64584303c3.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv32 -mattr=+m -verify-machineinstrs
clmul.adf8c75b84.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv32 -mattr=+m,+zvbc -verify-machineinstrs
clmul.cc372104c7.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv64 -mattr=+m,+zbs -verify-machineinstrs
clmul.cfd8abb954.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv32 -verify-machineinstrs
clmul.ef1a224d30.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv64 -mattr=+m,+zvbc -verify-machineinstrs
clmul.ff7690c01e.ll (mutant of clmul.ll)clmul_i96-mtriple=riscv64 -verify-machineinstrs
div-pow2.1cddbd3792.ll (mutant of div-pow2.ll)sdiv32_pow2_negative_65536-mtriple=riscv64 -verify-machineinstrs
div-pow2.38c18ecbaa.ll (mutant of div-pow2.ll)sdiv32_pow2_negative_65536-mtriple=riscv32 -verify-machineinstrs
ghccc-without-f-reg.009f628c9f.ll (mutant of ghccc-without-f-reg.ll)caller_float-mtriple=riscv64 -mattr=+zfinx,+zdinx
half-zfa.2f24215484.ll (mutant of half-zfa.ll)fround_h_6-mtriple=riscv64 -target-abi lp64f -mattr=+zfa,+zfhmin
half-zfa.5205b712e8.ll (mutant of half-zfa.ll)fround_h_6-mtriple=riscv64 -target-abi lp64f -mattr=+zfa,+zfh
half-zfa.ab81e96667.ll (mutant of half-zfa.ll)fround_h_6-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfhmin
half-zfa.c293562a2c.ll (mutant of half-zfa.ll)fround_h_6-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfh
orc-b-patterns.4d5fdf031f.ll (mutant of orc-b-patterns.ll)orc_b_i32_sub_shl8x_x_b5-mtriple=riscv64 -verify-machineinstrs
orc-b-patterns.5e8f0b788f.ll (mutant of orc-b-patterns.ll)orc_b_i32_sub_shl8x_x_b5-mtriple=riscv32 -mattr=+zbb -verify-machineinstrs
orc-b-patterns.6924822b81.ll (mutant of orc-b-patterns.ll)orc_b_i32_sub_shl8x_x_b5-mtriple=riscv32 -verify-machineinstrs
orc-b-patterns.78a2d74b4a.ll (mutant of orc-b-patterns.ll)orc_b_i32_sub_shl8x_x_b5-mtriple=riscv64 -mattr=+zbb -verify-machineinstrs
rem.1c24b9850c.ll (mutant of rem.ll)urem64_constant_lhs-mtriple=riscv64 -mattr=+m -verify-machineinstrs
rem.42777ca7a8.ll (mutant of rem.ll)urem64_constant_lhs-mtriple=riscv32 -mattr=+m -verify-machineinstrs
rem.517625cd89.ll (mutant of rem.ll)urem64_constant_lhs-mtriple=riscv32 -verify-machineinstrs
rem.de9c7ef9fe.ll (mutant of rem.ll)urem64_constant_lhs-mtriple=riscv64 -verify-machineinstrs
rvp-zip.8603ff7778.ll (mutant of rvp-zip.ll)test_unzip8hp_v8i8-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
shifts.40023a0201.ll (mutant of shifts.ll)ashr128-mtriple=riscv64 -verify-machineinstrs
shifts.bf7b27707f.ll (mutant of shifts.ll)ashr128-mtriple=riscv32 -verify-machineinstrs
shlimm-addimm.a0fa46eb9b.ll (mutant of shlimm-addimm.ll)shl5_add47968_b-mtriple=riscv64 -verify-machineinstrs
shlimm-addimm.b5911d4944.ll (mutant of shlimm-addimm.ll)shl5_add47968_b-mtriple=riscv32 -verify-machineinstrs
unaligned-load-store.56b23882de.ll (mutant of unaligned-load-store.ll)store_i16-mtriple=riscv32 -mattr=+unaligned-scalar-mem -verify-machineinstrs
unaligned-load-store.a648648d7e.ll (mutant of unaligned-load-store.ll)store_i16-mtriple=riscv64 -mattr=+zbkb -verify-machineinstrs
unaligned-load-store.c44fc51b42.ll (mutant of unaligned-load-store.ll)store_i16-mtriple=riscv64 -verify-machineinstrs
unaligned-load-store.df7414bd2d.ll (mutant of unaligned-load-store.ll)store_i16-mtriple=riscv64 -mattr=+unaligned-scalar-mem -verify-machineinstrs
unaligned-load-store.f01b07be87.ll (mutant of unaligned-load-store.ll)store_i16-mtriple=riscv32 -mattr=+zbkb -verify-machineinstrs
unaligned-load-store.f26d100fe2.ll (mutant of unaligned-load-store.ll)store_i16-mtriple=riscv32 -verify-machineinstrs
xcvmac.620c450843.ll (mutant of xcvmac.ll)test.mulhhuRN-mtriple=riscv32 -mattr=+m -mattr=+xcvmac -verify-machineinstrs
xqcibm-insert.4a50daad42.ll (mutant of xqcibm-insert.ll)test2-mtriple=riscv32 -verify-machineinstrs
xqcibm-insert.be24c218cb.ll (mutant of xqcibm-insert.ll)test2-mtriple=riscv32 -mattr=+xqcibm -verify-machineinstrs
xqcibm-insert.cfa9f48dad.ll (mutant of xqcibm-insert.ll)test2-mtriple=riscv32 -mattr=+xqcibm,+zbs -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.