fallback: translate: or i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: or i64 M |
| Occurrences: | 5 in 5 configs, 4 test files, 52 more counted only |
| Snippet from: | avgceils.566363ef75.ll (mutant of avgceils.ll) @test_fixed_i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i64
; Function Attrs: nounwind
define i64 @test_fixed_i64(i64 %a0, i64 %a1) #0 {
%or = or i64 %a0, %a1
%xor = xor i64 %a1, %a0
%shift = ashr i64 %xor, 1
%res = sub i64 %or, %shift
%B = udiv i64 %a1, %shift
store i64 %B, ptr @G.3, align 4
ret i64 %res
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: or: ' %or = or i64 %a0, %a1' (in function: test_fixed_i64)
warning: Instruction selection used fallback path for test_fixed_i64
Occurrences (5):
| Input | Function | Config |
|---|
| avgceils.566363ef75.ll (mutant of avgceils.ll) | test_fixed_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1 |
| pr84653_pr85190.76bec6db9e.ll (mutant of pr84653_pr85190.ll) | pr85190 | -mtriple=riscv64 -mattr=+zba,+zhinx -O2 -verify-machineinstrs |
| rotl-rotr.10ed78920e.ll (mutant of rotl-rotr.ll) | rotl_64_mask_or_128_or_64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zicsr,+zdinx -O3 |
| rotl-rotr.74cd0b5052.ll (mutant of rotl-rotr.ll) | rotr_64_mask_or_128_or_64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx -O1 |
| rv64zba.cd32073225.ll (mutant of rv64zba.ll) | array_index_sh3_sh1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zba,+zbb,+zdinx -O2 |
Generated 2026-11-29 14:49 UTC.