fallback: translate: lshr i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: lshr i1 M |
| Occurrences: | 4 in 4 configs, 4 test files, 17 more counted only |
| Snippet from: | calling-conv-ilp32e.e1a4ae5e17.ll (mutant of calling-conv-ilp32e.ll) @callee_i64_in_regs via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi ilp32e -verify-machineinstrs -mattr=+save-restore,+zfinx -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define i32 @callee_i64_in_regs(i32 %a, i64 %b) {
%B = lshr i1 true, false
%b_trunc = trunc i64 %b to i32
%1 = add i32 %a, %b_trunc
store i1 %B, ptr @G.1, align 1
ret i32 %1
}
Reproduce:
llc -mtriple=riscv32 -target-abi ilp32e -verify-machineinstrs -mattr=+save-restore,+zfinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi ilp32e -verify-machineinstrs -mattr=+save-restore,+zfinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %B = lshr i1 true, false' (in function: callee_i64_in_regs)
warning: Instruction selection used fallback path for callee_i64_in_regs
Occurrences (4):
| Input | Function | Config |
|---|
| calling-conv-ilp32e.e1a4ae5e17.ll (mutant of calling-conv-ilp32e.ll) | callee_i64_in_regs | -mtriple=riscv32 -target-abi ilp32e -verify-machineinstrs -mattr=+save-restore,+zfinx -O0 |
| fp-fcanonicalize.9b88a75e73.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f32_nnan | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O2 |
| half-isnan.6e7f6dc928.ll (mutant of half-isnan.ll) | half_is_nan | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O2 -code-model=medium |
| short-forward-branch-opt-min-max.e32c5a0f70.ll (mutant of short-forward-branch-opt-min-max.ll) | select_example_umax_1 | -mtriple=riscv32 -mattr=+zbb,+short-forward-branch-iminmax,+zhinx,+zihintpause -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.