fallback: translate: atomicrmw ptr
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: atomicrmw ptr M |
| Occurrences: | 5 in 4 configs, 2 test files, 144 more counted only |
| Snippet from: | atomic-rmw.9b9ee4a9e0.ll (mutant of atomic-rmw.ll) @atomicrmw_xchg_i32_acquire via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zacas,+zfinx -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i32 @atomicrmw_xchg_i32_acquire(ptr %a, i32 %b) #0 {
%1 = atomicrmw xchg ptr %a, i32 %b acquire, align 4
%B = add i32 %1, %1
ret i32 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zacas,+zfinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zacas,+zfinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: atomicrmw: ' %1 = atomicrmw xchg ptr %a, i32 %b acquire, align 4' (in function: atomicrmw_xchg_i32_acquire)
warning: Instruction selection used fallback path for atomicrmw_xchg_i32_acquire
Occurrences (5):
| Input | Function | Config |
|---|
| atomic-rmw.9b9ee4a9e0.ll (mutant of atomic-rmw.ll) | atomicrmw_xchg_i32_acquire | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zacas,+zfinx -O1 |
| atomic-rmw.a8330edc84.ll (mutant of atomic-rmw.ll) | atomicrmw_max_i64_monotonic | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+ztso,+zabha,+zacas,+zfinx -O1 |
| atomicrmw-and-or-xor.5b7045a279.ll (mutant of atomicrmw-and-or-xor.ll) | atomicrmw_or_i8_acq_rel | -mtriple=riscv64 -mattr=+a,+zabha,+zhinx -O3 -verify-machineinstrs |
| atomicrmw-and-or-xor.5b7045a279.ll (mutant of atomicrmw-and-or-xor.ll) | atomicrmw_or_i8_seq_cst | -mtriple=riscv64 -mattr=+a,+zabha,+zhinx -O3 -verify-machineinstrs |
| atomicrmw-and-or-xor.80f96167e6.ll (mutant of atomicrmw-and-or-xor.ll) | atomicrmw_xor_i32_monotonic | -mtriple=riscv32 -mattr=+zalrsc,+zfinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.