fallback: legalize: G_AND <2 x s64>

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_AND <2 x s64> NEW
Occurrences:75 in 53 configs, 21 test files
Snippet from:half-mem.bc871c1f78.ll (mutant of half-mem.ll) @flh_stack via llvm-extract + llvm-reduce
Config:-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f
Local check:reproduces at bc8218b282
Compiler Explorer:https://godbolt.org/z/67v81G9Wf (llc-assertions-trunk, checked 2026-10-15 08:04 UTC): G reproduces

Snippet:

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

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*03remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_AND %3:_, %0:_ (in function: flh_stack)
warning: Instruction selection used fallback path for flh_stack
SelectionDAG (control)-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -global-isel=003-

Reproduce:

llc -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -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: flh_stack)
warning: Instruction selection used fallback path for flh_stack

Occurrences (75) (first 50):

InputFunctionConfig
bigendian-load-store.74556fdaaf.ll (mutant of bigendian-load-store.ll)load_i8-mtriple=riscv64 -verify-machineinstrs
bigendian-load-store.ed5dc845e7.ll (mutant of bigendian-load-store.ll)load_i8-mtriple=riscv32 -verify-machineinstrs
condbinops.1d3b214127.ll (mutant of condbinops.ll)and32-mtriple=riscv64
condbinops.1decf8d1ff.ll (mutant of condbinops.ll)and32-mtriple=riscv64 -mattr=+zicond
condbinops.3f8d5b3c2d.ll (mutant of condbinops.ll)and32-mtriple=riscv32 -mattr=+zicond
condbinops.901f1ebccf.ll (mutant of condbinops.ll)and32-mtriple=riscv64 -mattr=+xtheadcondmov
condbinops.e639a60ba4.ll (mutant of condbinops.ll)and32-mtriple=riscv32
double-fcmp.197d8d1302.ll (mutant of double-fcmp.ll)fcmp_olt-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
double-fcmp.5d8187a5ca.ll (mutant of double-fcmp.ll)fcmp_olt-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-fcmp.81a2f71c44.ll (mutant of double-fcmp.ll)fcmp_olt-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
double-fcmp.bda8caf4e6.ll (mutant of double-fcmp.ll)fcmp_olt-mtriple=riscv64 -verify-machineinstrs
double-fcmp.ea4fc8c426.ll (mutant of double-fcmp.ll)fcmp_olt-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-fcmp.ef07f66fdf.ll (mutant of double-fcmp.ll)fcmp_olt-mtriple=riscv32 -verify-machineinstrs
float-fcmp.63a1e8667a.ll (mutant of float-fcmp.ll)fcmp_olt-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
float-fcmp.721c263211.ll (mutant of float-fcmp.ll)fcmp_olt-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
float-fcmp.cb67a41976.ll (mutant of float-fcmp.ll)fcmp_olt-mtriple=riscv32 -verify-machineinstrs
float-fcmp.fdf5b6c26e.ll (mutant of float-fcmp.ll)fcmp_olt-mtriple=riscv64 -verify-machineinstrs
float-mem.0e59df4fa7.ll (mutant of float-mem.ll)flw_stack-mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64
float-mem.96956812cd.ll (mutant of float-mem.ll)flw_stack-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
float-mem.a1f670ec05.ll (mutant of float-mem.ll)flw_stack-mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32
float-mem.f3c7dd5374.ll (mutant of float-mem.ll)flw_stack-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
half-fcmp.10bc445ffd.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32
half-fcmp.1ede48d6b4.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f
half-fcmp.33c16e35cf.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f
half-fcmp.3cdfb38a59.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64
half-fcmp.7f37d164a8.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f
half-fcmp.b482211b69.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -target-abi lp64f
half-fcmp.c434ed462a.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32
half-fcmp.febd2993b2.ll (mutant of half-fcmp.ll)fcmp_olt-mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -target-abi lp64
half-mem.bc871c1f78.ll (mutant of half-mem.ll)flh_stack-mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f
half-mem.e61589877a.ll (mutant of half-mem.ll)flh_stack-mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f
iabs.1cb45a6bc4.ll (mutant of iabs.ll)abs32-mtriple=riscv64 -mattr=+zbb -verify-machineinstrs
iabs.3b6794022c.ll (mutant of iabs.ll)abs32-mtriple=riscv64 -verify-machineinstrs
iabs.b8e3f86a81.ll (mutant of iabs.ll)abs32-mtriple=riscv32 -verify-machineinstrs
iabs.f9b6df60ff.ll (mutant of iabs.ll)abs32-mtriple=riscv32 -mattr=+zbb -verify-machineinstrs
machine-sink-jumptable-edge-split.04c2c98d3c.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv64 -code-model=small -mattr=+experimental-zilx -O3
machine-sink-jumptable-edge-split.1584d94e79.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv32 -code-model=medium -mattr=+zba -O3
machine-sink-jumptable-edge-split.27ab7b157c.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv32 -code-model=small -mattr=+xqcili,+xqcisls,+zba -O3
machine-sink-jumptable-edge-split.57b75c075b.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv64 -relocation-model=pic -mattr=+zba -O3
machine-sink-jumptable-edge-split.780fcb7ec1.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv64 -code-model=small -mattr=+zba -O3
machine-sink-jumptable-edge-split.833b8df848.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv32 -relocation-model=pic -mattr=+zba -O3
machine-sink-jumptable-edge-split.8a1cec329c.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv32 -code-model=small -mattr=+xqcili,+zba -O3
machine-sink-jumptable-edge-split.bc9014f4c2.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv32 -code-model=small -mattr=+zba -O3
machine-sink-jumptable-edge-split.d8f8e3042a.ll (mutant of machine-sink-jumptable-edge-split.ll)sink_through_jt-mtriple=riscv64 -code-model=medium -mattr=+zba -O3
qc-access-marking.0a09669971.ll (mutant of qc-access-marking.ll)load_unsigned_byte_twice_offset-mtriple=riscv32 -mattr=+xqcili,+relax -code-model=small -verify-machineinstrs
qc-access-marking.77aa143ad8.ll (mutant of qc-access-marking.ll)load_unsigned_byte_twice_offset-mtriple=riscv32 -mattr=+xqcili,+relax,+zca,+zcb -code-model=small -verify-machineinstrs
rv64f-float-convert.39874a3c5b.ll (mutant of rv64f-float-convert.ll)sext_fptoui-mtriple=riscv64 -mattr=+f -target-abi=lp64f -verify-machineinstrs
rv64i-demanded-bits.9d95c4e60d.ll (mutant of rv64i-demanded-bits.ll)or_signbit-mtriple=riscv64 -mattr=+m -verify-machineinstrs
rv64i-shift-sext.2ad5ff47d8.ll (mutant of rv64i-shift-sext.ll)test5-mtriple=riscv64 -verify-machineinstrs
rv64zfh-half-convert.01b7bbe511.ll (mutant of rv64zfh-half-convert.ll)sext_fptoui-mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs -target-abi lp64

Generated 2026-10-15 08:05 UTC.