fallback: translate: add i1
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: add i1 M |
| Occurrences: | 4 in 4 configs, 4 test files, 14 more counted only |
| Snippet from: | half-select-icmp.cdcc6df738.ll (mutant of half-select-icmp.ll) @select_icmp_sgt via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 -code-model=medium |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define half @select_icmp_sgt(i32 signext %a, i32 signext %b, half %c, half %d) {
%B = add i1 true, false
%1 = select i1 %B, half %c, half %d
ret half %1
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: add: ' %B = add i1 true, false' (in function: select_icmp_sgt)
warning: Instruction selection used fallback path for select_icmp_sgt
Occurrences (4):
| Input | Function | Config |
|---|
| emutls.3616932232.ll (mutant of emutls.ll) | get_external_x | -mtriple=riscv64 -emulated-tls -relocation-model=pic -mattr=+zbkb,+zhinx -O1 -verify-machineinstrs |
| half-arith.edca2b2cf0.ll (mutant of half-arith.ll) | fnmadd_nsz | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0 |
| half-select-icmp.cdcc6df738.ll (mutant of half-select-icmp.ll) | select_icmp_sgt | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinxmin -O2 -code-model=medium |
| rvp-scalar.0a5170ef26.ll (mutant of rvp-scalar.ll) | wsuba_sext_chain_rev | -mtriple=riscv64 -mattr=+experimental-p,+zfinx -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.