fallback: translate: sub i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: sub i64 M |
| Occurrences: | 7 in 7 configs, 7 test files, 151 more counted only |
| Snippet from: | atomic-load-zext.fc6742a830.ll (mutant of atomic-load-zext.ll) @atomic_load_i16_acquire via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zalasr,+zdinx -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i64
; Function Attrs: nounwind
define zeroext i16 @atomic_load_i16_acquire(ptr %a) #0 {
%B1 = sub i64 0, 4294967296
%1 = load atomic i16, ptr %a acquire, align 2
%B = add i16 %1, 256
store i64 %B1, ptr @G.1, align 4
ret i16 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zalasr,+zdinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zalasr,+zdinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sub: ' %B1 = sub i64 0, 4294967296' (in function: atomic_load_i16_acquire)
warning: Instruction selection used fallback path for atomic_load_i16_acquire
Occurrences (7):
| Input | Function | Config |
|---|
| atomic-load-zext.fc6742a830.ll (mutant of atomic-load-zext.ll) | atomic_load_i16_acquire | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zalasr,+zdinx -O2 |
| ctlz-cttz-ctpop.eb9b632b0d.ll (mutant of ctlz-cttz-ctpop.ll) | test_ctpop_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 |
| neg-abs.3567ebbfb3.ll (mutant of neg-abs.ll) | expanded_neg_inv_abs64_unsigned | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zdinx,+zfinx -O0 |
| rotl-rotr.45590ff6c8.ll (mutant of rotl-rotr.ll) | rotr_64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zcb,+zfinx -O1 |
| rv64zbs.7b97cf9ded.ll (mutant of rv64zbs.ll) | bset_i64_zero | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O0 |
| rv64zknd-zkne-intrinsic.cfd90ddf96.ll (mutant of rv64zknd-zkne-intrinsic.ll) | aes64ks1i | -mtriple=riscv64 -verify-machineinstrs -mattr=+zknd,+zfinx -O1 |
| selectcc-to-shiftand.ae9276f6f5.ll (mutant of selectcc-to-shiftand.ll) | neg_sel_variable_and_zero | -mtriple=riscv32 -mattr=+zhinx -O0 -code-model=medium -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.