fallback: legalize: G_OR <2 x s64>

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_OR <2 x s64> NEW
Occurrences:538 in 493 configs, 69 test files
Snippet from:xqcilia-addimm-mulimm-loop.22a3a035f8.ll (mutant of xqcilia-addimm-mulimm-loop.ll) @mul_add_simm26 via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -mattr=+xqcilia -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:https://godbolt.org/z/4dnh8GP51 (llc-assertions-trunk, checked 2026-10-14 11:49 UTC): G reproduces

Snippet:

define <2 x i64> @mul_add_simm26(<2 x i64> %LGV) {
  %B = or <2 x i64> %LGV, splat (i64 1)
  ret <2 x i64> %B
}

Compiler Explorer panes:

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

Reproduce:

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

Local llc output:

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

Occurrences (538) (first 50):

InputFunctionConfig
addc-adde-sube-subc.855d1b03a0.ll (mutant of addc-adde-sube-subc.ll)subc_sube-mtriple=riscv32 -verify-machineinstrs
allow-check.18d43f4a0f.ll (mutant of allow-check.ll)test_ubsan-mtriple=riscv64 -fast-isel=0
allow-check.b57ba2dcb1.ll (mutant of allow-check.ll)test_ubsan-mtriple=riscv32 -fast-isel=0
attributes.01432981d1.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+ssctr
attributes.014c7e9afc.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zicntr
attributes.021b1b1220.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zicsr
attributes.032a8d8082.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+m,+zmmul
attributes.0344a8eb96.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+shvstvala
attributes.03b81abc97.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+experimental-zvfbfa
attributes.049a146eb4.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+experimental-rvm23u32
attributes.0596847bd5.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zcd
attributes.066b7bb40f.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zcb
attributes.06b9a3b424.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+smaia
attributes.072d8e4fe5.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zvfbfwma
attributes.083bdf0463.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+ssccfg
attributes.0954fe797b.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zve32x -mattr=+experimental-zvzip
attributes.097fed76e4.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zicbom
attributes.099cf0c586.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+sdext
attributes.09d30c3c76.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zve32x -mattr=+experimental-zvqwdota8i
attributes.0a942bd95a.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+q
attributes.0c736b6788.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+f
attributes.0d40b90d57.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+experimental-ssip
attributes.0d4f998805.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zvfbfwma
attributes.0d53fb9b26.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+xwchc
attributes.0db924465f.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+experimental-sscsps
attributes.0e443fd711.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zclsd
attributes.0ef59eb9c0.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zknd
attributes.0f38d1af18.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+experimental-ssnip
attributes.0f52739ba2.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zalrsc
attributes.0f6ce0f13d.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+ziccid
attributes.0fc0723af2.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zbkb,+zbkc,+zbkx,+zkne,+zknd,+zknh
attributes.100a52d497.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+experimental-zicfilp
attributes.1169b5b136.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zihintntl
attributes.12f8541ae6.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zcmp
attributes.13fd2bb43d.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+smrnmi
attributes.15063f98bb.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zbkb
attributes.15a581d591.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+za128rs
attributes.160ecab81e.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+experimental-smnip
attributes.162f84e3e1.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+a --riscv-abi-attributes
attributes.16415fb451.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zcmop
attributes.16caf043d7.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+experimental-smpmpmt
attributes.18047d8298.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+experimental-p
attributes.18653fd271.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+svinval
attributes.18f093bbb5.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zkt
attributes.18fe273c45.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+smnpm
attributes.195d277727.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+experimental-zibi
attributes.1a8ffd1a53.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zaamo,+zalrsc
attributes.1a90a9880b.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+q
attributes.1b6ed69cad.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zkt
attributes.1de6662874.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv32 -mattr=+zksed

Generated 2026-10-15 08:05 UTC.