fallback: translate: and <N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: and <N x i32> M
Occurrences:3 in 3 configs, 3 test files, 19 more counted only
Snippet from:half-select-fcmp.724cd7203f.ll (mutant of half-select-fcmp.ll) @select_fcmp_uge_1_2 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define signext i32 @select_fcmp_uge_1_2(half %a, half %b) #0 {
  %B = and <4 x i32> splat (i32 65536), splat (i32 42)
  %1 = fcmp ugt half %a, %b
  %2 = select i1 %1, i32 1, i32 2
  store <4 x i32> %B, ptr poison, align 16
  ret i32 %2
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: and: '  %B = and <4 x i32> splat (i32 65536), splat (i32 42)' (in function: select_fcmp_uge_1_2)
warning: Instruction selection used fallback path for select_fcmp_uge_1_2

Occurrences (3):

InputFunctionConfig
half-round-conv-sat.12d5d3dbc4.ll (mutant of half-round-conv-sat.ll)test_floor_ui64-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin,+a -O2
half-select-fcmp.724cd7203f.ll (mutant of half-select-fcmp.ll)select_fcmp_uge_1_2-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin -O0
memset.ef1f70893a.ll (mutant of memset.ll)memset_i64_var-mtriple=riscv32 -mattr=+zbb,+zfinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.