fallback: translate: ashr i128
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: ashr i128 M |
| Occurrences: | 4 in 4 configs, 4 test files, 4 more counted only |
| Snippet from: | zicond-fp-select-zfinx.bec8110315.ll (mutant of zicond-fp-select-zfinx.ll) @select_i1_half_0 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i128
; Function Attrs: nounwind
define dso_local noundef half @select_i1_half_0(i1 %cond, half %val) #0 {
entry:
%B = ashr i128 -1, 0
%sel = select i1 %cond, half %val, half 0.000000e+00
store i128 %B, ptr @G.2, align 4
ret half %sel
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: ashr: ' %B = ashr i128 -1, 0' (in function: select_i1_half_0)
warning: Instruction selection used fallback path for select_i1_half_0
Occurrences (4):
| Input | Function | Config |
|---|
| ctz_zero_return_test.b454e42b87.ll (mutant of ctz_zero_return_test.ll) | ctz1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx,+zvbb -O0 |
| rv64d-double-convert-strict.3d21852150.ll (mutant of rv64d-double-convert-strict.ll) | sitofp_aext_i32_to_f64 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation -mattr=+zdinx -O0 |
| rvp-narrowing-clip.31bbfaf4a2.ll (mutant of rvp-narrowing-clip.ll) | pnclipru_v2i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx -O1 |
| zicond-fp-select-zfinx.bec8110315.ll (mutant of zicond-fp-select-zfinx.ll) | select_i1_half_0 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx,+zicond -O3 |
Generated 2026-11-29 14:49 UTC.