fallback: translate: call llvm.abs.i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.abs.i64 M |
| Occurrences: | 3 in 3 configs, 3 test files, 15 more counted only |
| Snippet from: | rv32zbb.d33e61dae8.ll (mutant of rv32zbb.ll) @abs_i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+xtheadba -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i64 @abs_i64(i64 %x) {
%abs = tail call i64 @llvm.abs.i64(i64 %x, i1 true)
%B = xor i64 %abs, 4294967296
ret i64 %B
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.abs.i64(i64, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+xtheadba -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+xtheadba -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.abs.i64: ' %abs = tail call i64 @llvm.abs.i64(i64 %x, i1 true)' (in function: abs_i64)
warning: Instruction selection used fallback path for abs_i64
Occurrences (3):
| Input | Function | Config |
|---|
| iabs.6eba26fbf3.ll (mutant of iabs.ll) | abs64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0 |
| neg-abs.11a2c6ba30.ll (mutant of neg-abs.ll) | neg_abs64_multiuse | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zfinx -O2 |
| rv32zbb.d33e61dae8.ll (mutant of rv32zbb.ll) | abs_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+xtheadba -O2 |
Generated 2026-11-29 14:49 UTC.