fallback: translate: sub <N x i32>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: sub <N x i32> M |
| Occurrences: | 3 in 3 configs, 3 test files, 26 more counted only |
| Snippet from: | half-select-icmp.72fcf60aec.ll (mutant of half-select-icmp.ll) @select_icmp_eq via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zbs -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define half @select_icmp_eq(i32 signext %a, i32 signext %b, half %c, half %d) {
%B = sub <4 x i32> zeroinitializer, splat (i32 2147483647)
%1 = icmp eq i32 %a, %b
%2 = select i1 %1, half %c, half %d
store <4 x i32> %B, ptr poison, align 16
ret half %2
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zbs -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zbs -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sub: ' %B = sub <4 x i32> zeroinitializer, splat (i32 2147483647)' (in function: select_icmp_eq)
warning: Instruction selection used fallback path for select_icmp_eq
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-load-zext.fc6742a830.ll (mutant of atomic-load-zext.ll) | atomic_load_i16_seq_cst | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zalasr,+zdinx -O2 |
| fixed-vectors-vrol.6abad9bf.15a50cbc.71f803fa.325e9e70e9.ll (mutant of fixed-vectors-vrol.6abad9bf.15a50cbc.71f803fa.ll) | vrol_vv_v1i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zicond,+zdinx -O0 |
| half-select-icmp.72fcf60aec.ll (mutant of half-select-icmp.ll) | select_icmp_eq | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zbs -O3 |
Generated 2026-11-29 14:49 UTC.