Roadmap / LLVM IR constructs

Refused: load atomic

Area
LLVM IR constructs
Kind
construct
Level
L0 (card written). Next: L1 needs a Lean model.
Evidence present above the level
None above the level.
Reference
LLVM LangRef 24.0.0git #load-instruction
Quote
The ‘load’ instruction is used to read from memory.
Lean declarations
Not stated yet.
Corpus files
None yet.

0 kernel files (.ll) in the corpus.

Tests
  • MojoProofTest.Corpus
Upstream issue
None filed.
Depends on
No other card.

Rule

The importer refuses load atomic with the message unsupported instruction 'load atomic' (Parser.inst). The quote is the first sentence of LangRef's section on load; the atomic form is described in the same section.

Corpus

No corpus file uses it: the corpus check would refuse such a file, and tests/corpus/REFUSALS.tsv gives no such reason.

Out of scope

Everything: no Lean model exists.

Open

A model of the atomic load and store orderings, if a kernel needs them.