fallback: translate: call llvm.ptrmask.p0.i32
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.ptrmask.p0.i32 M |
| Occurrences: | 3 in 2 configs, 1 test files, 70 more counted only |
| Snippet from: | atomic-rmw.2c43a2d65e.ll (mutant of atomic-rmw.ll) @atomicrmw_xor_i8_monotonic via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zalrsc,+zhinx,+zvkb -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i1
; Function Attrs: nounwind
define i8 @atomicrmw_xor_i8_monotonic(ptr %a, i8 %b) #0 {
%1 = atomicrmw xor ptr %a, i8 %b monotonic, align 1
%C = icmp sgt i8 %1, %1
store i1 %C, ptr @G.2, align 1
ret i8 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zalrsc,+zhinx,+zvkb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zalrsc,+zhinx,+zvkb -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.ptrmask.p0.i32: ' %AlignedAddr = call ptr @llvm.ptrmask.p0.i32(ptr %a, i32 -4)' (in function: atomicrmw_xor_i8_monotonic)
warning: Instruction selection used fallback path for atomicrmw_xor_i8_monotonic
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-rmw.2c43a2d65e.ll (mutant of atomic-rmw.ll) | atomicrmw_xor_i8_monotonic | -mtriple=riscv32 -verify-machineinstrs -mattr=+zalrsc,+zhinx,+zvkb -O2 |
| atomic-rmw.2c43a2d65e.ll (mutant of atomic-rmw.ll) | atomicrmw_xor_i16_monotonic | -mtriple=riscv32 -verify-machineinstrs -mattr=+zalrsc,+zhinx,+zvkb -O2 |
| atomic-rmw.9b9ee4a9e0.ll (mutant of atomic-rmw.ll) | atomicrmw_xchg_minus_1_i8_acquire | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zacas,+zfinx -O1 |
Generated 2026-11-29 14:49 UTC.