fallback: translate: call llvm.ptrmask.p0.i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.ptrmask.p0.i64 M |
| Occurrences: | 3 in 3 configs, 3 test files, 92 more counted only |
| Snippet from: | atomicrmw-xchg.2564ba1527.ll (mutant of atomicrmw-xchg.ll) @atomicrmw_xchg_i16_acq_rel via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+a,+zfinx -O1 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i16 @atomicrmw_xchg_i16_acq_rel(ptr %ptr, i16 %val) #0 {
%res = atomicrmw xchg ptr %ptr, i16 %val acq_rel, align 2
%C = icmp uge i32 1, 0
store i1 %C, ptr poison, align 1
ret i16 %res
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+a,+zfinx -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+a,+zfinx -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.ptrmask.p0.i64: ' %AlignedAddr = call ptr @llvm.ptrmask.p0.i64(ptr %ptr, i64 -4)' (in function: atomicrmw_xchg_i16_acq_rel)
warning: Instruction selection used fallback path for atomicrmw_xchg_i16_acq_rel
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-rmw.5947ccbd68.ll (mutant of atomic-rmw.ll) | atomicrmw_min_i16_seq_cst | -mtriple=riscv64 -verify-machineinstrs -mattr=+zalrsc,+zicond,+zdinx -O0 |
| atomic-signext.4d099cf3e0.ll (mutant of atomic-signext.ll) | atomicrmw_max_i8_monotonic | -mtriple=riscv64 -verify-machineinstrs -mattr=+zalrsc,+zfinx -O2 -code-model=medium |
| atomicrmw-xchg.2564ba1527.ll (mutant of atomicrmw-xchg.ll) | atomicrmw_xchg_i16_acq_rel | -mtriple=riscv64 -mattr=+a,+zfinx -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.