fallback: translate: call llvm.abs.i128
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.abs.i128 M |
| Occurrences: | 3 in 3 configs, 1 test files, 9 more counted only |
| Snippet from: | iabs.c6d41119bd.ll (mutant of iabs.ll) @abs128 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zcb,+zhinx -O0 -code-model=small |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i128 @abs128(i128 %x) {
%abs = tail call i128 @llvm.abs.i128(i128 %x, i1 true)
store i128 %abs, ptr poison, align 4
ret i128 %abs
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i128 @llvm.abs.i128(i128, i1 immarg) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zcb,+zhinx -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zcb,+zhinx -O0 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.abs.i128: ' %abs = tail call i128 @llvm.abs.i128(i128 %x, i1 true)' (in function: abs128)
warning: Instruction selection used fallback path for abs128
Occurrences (3):
| Input | Function | Config |
|---|
| iabs.78f4bc7682.ll (mutant of iabs.ll) | abs128 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2 -code-model=medium |
| iabs.c6d41119bd.ll (mutant of iabs.ll) | abs128 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zcb,+zhinx -O0 -code-model=small |
| iabs.f8071627e9.ll (mutant of iabs.ll) | abs128 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zdinx,+m -O0 |
Generated 2026-11-29 14:49 UTC.