fallback: legalize: G_ZEXTLOAD s128,p0,s64

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_ZEXTLOAD s128,p0,s64
Occurrences:18 in 5 configs, 4 test files
Snippet from:condops.ll @single_bit3 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32f -mattr=+f,+zbs
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i64 @single_bit3(i80 %x, i64 %y) {
entry:
  %and = and i80 %x, 18446744073709551616
  %tobool.not = icmp eq i80 %and, 0
  %cond = select i1 %tobool.not, i64 0, i64 %y
  ret i64 %cond
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32f -mattr=+f,+zbs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32f -mattr=+f,+zbs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %58:_(s128) = G_ZEXTLOAD %2:_(p0) :: (load (s64)) (in function: single_bit3)
warning: Instruction selection used fallback path for single_bit3

Occurrences (18):

InputFunctionConfig
condops.llsingle_bit3-mtriple=riscv32 -target-abi=ilp32f -mattr=+f,+zbs
condops.llsingle_bit3-mtriple=riscv32 -target-abi=ilp32f -mattr=+f,+zbs,+zicond
pr56110.llfoo_set-mtriple=riscv32
pr56110.llfoo_set-mtriple=riscv32 -mattr=+unaligned-scalar-mem
smulh.llsmulh_i96-mtriple=riscv32 -mattr=+m
umulh.llumulh_i96-mtriple=riscv32 -mattr=+m
condops.503fc53f33.ll (mutant of condops.ll)single_bit3-mtriple=riscv32 -target-abi=ilp32f -mattr=+f,+zbs
condops.8250919137.ll (mutant of condops.ll)single_bit3-mtriple=riscv32 -target-abi=ilp32f -mattr=+f,+zbs,+zicond
pr56110.04266acc31.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32
pr56110.6b1216b0d8.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32 -mattr=+unaligned-scalar-mem
pr56110.6ed5e8c2e9.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32 -mattr=+unaligned-scalar-mem
pr56110.702a71afdd.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32
pr56110.7b8876741a.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32 -mattr=+unaligned-scalar-mem
pr56110.7d07065e39.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32
pr56110.8461656e4a.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32 -mattr=+unaligned-scalar-mem
pr56110.b21b769a49.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32
pr56110.c1ad02dc64.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32
pr56110.e095a8dc39.ll (mutant of pr56110.ll)foo_set-mtriple=riscv32 -mattr=+unaligned-scalar-mem

Generated 2026-10-15 08:05 UTC.