fallback: translate: ashr i64
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | translate: ashr i64 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | float-br-fcmp.2103fe3745.ll (mutant of float-br-fcmp.ll) @br_fcmp_ult via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
declare void @abort()
; Function Attrs: nounwind
define void @br_fcmp_ult(float %a, float %b) #0 {
%B = ashr i64 1, -9223372036854775808
%1 = fcmp ult float %a, %b
store i64 %B, ptr poison, align 4
br i1 %1, label %if.then, label %if.else
if.else: ; preds = %0
ret void
if.then: ; preds = %0
tail call void @abort()
unreachable
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: ashr: ' %B = ashr i64 1, -9223372036854775808' (in function: br_fcmp_ult)
warning: Instruction selection used fallback path for br_fcmp_ult
Occurrences (2):
| Input | Function | Config |
|---|
| float-br-fcmp.2103fe3745.ll (mutant of float-br-fcmp.ll) | br_fcmp_ult | -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs -target-abi=lp64 |
| float-br-fcmp.292d78fb4f.ll (mutant of float-br-fcmp.ll) | br_fcmp_ult | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -target-abi=ilp32 |
Generated 2026-11-29 14:49 UTC.