fallback: translate: shl i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: shl i64 M |
| Occurrences: | 7 in 7 configs, 7 test files, 87 more counted only |
| Snippet from: | rv64i-shift-sext.bbf8cb63ab.ll (mutant of rv64i-shift-sext.ll) @test1 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zihintpause,+zfinx -O2 -code-model=medium |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
; Function Attrs: nounwind
define i64 @test1(i64 %a) #0 {
%1 = shl i64 %a, 32
%C = icmp ugt i64 %a, %a
%2 = ashr i64 %1, 30
store i1 %C, ptr @G, align 1
ret i64 %2
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zihintpause,+zfinx -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zihintpause,+zfinx -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: shl: ' %1 = shl i64 %a, 32' (in function: test1)
warning: Instruction selection used fallback path for test1
Occurrences (7):
| Input | Function | Config |
|---|
| rv32zbb.8a41b60300.ll (mutant of rv32zbb.ll) | sexth_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+c,+zdinx -O1 |
| rv64i-shift-sext.bbf8cb63ab.ll (mutant of rv64i-shift-sext.ll) | test1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zihintpause,+zfinx -O2 -code-model=medium |
| rv64zba.5bacc6fde6.ll (mutant of rv64zba.ll) | sh1adduw_3 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2 |
| rv64zbb.63a471d4f0.ll (mutant of rv64zbb.ll) | sextb_i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zcb,+zhinx -O2 |
| rv64zkne-intrinsic.08ae3412ca.ll (mutant of rv64zkne-intrinsic.ll) | aes64esm | -mtriple=riscv64 -verify-machineinstrs -mattr=+zkne,+zfinx,+zba -O1 |
| shift-masked-shamt.320c93689b.ll (mutant of shift-masked-shamt.ll) | sll_redundant_mask_zeros_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 |
| signed-truncation-check.a30e8fef4a.ll (mutant of signed-truncation-check.ll) | shifts_eqcmp_i64_i16 | -mtriple=riscv64-unknown-linux-gnu -mattr=+zbb,+zdinx -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.