[all-commits] [llvm/llvm-project] 58a91c: [NFC][mlir][ptr] Clarify pointer dialect semantics

Fabian Mora via All-commits all-commits at lists.llvm.org
Sun Sep 14 09:39:21 PDT 2025


  Branch: refs/heads/users/fabianmcg/ptr-docs
  Home:   https://github.com/llvm/llvm-project
  Commit: 58a91c376c3e92f93b43badc80152f0873e052e1
      https://github.com/llvm/llvm-project/commit/58a91c376c3e92f93b43badc80152f0873e052e1
  Author: Fabian Mora <6982088+fabianmcg at users.noreply.github.com>
  Date:   2025-09-14 (Sun, 14 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.td

  Log Message:
  -----------
  [NFC][mlir][ptr] Clarify pointer dialect semantics

This patch adds the following description to the pointer dialect:
```
    The pointer dialect provides types and operations for representing and
    interacting with pointer values in MLIR, such as loading and storing values
    from/to memory addresses.

    The dialect's main type is an opaque pointer (`ptr`) that can be
    parameterized by a memory space. This type represents a handle to an object
    in memory, or target-dependent values like `nullptr`. Further, the dialect
    assumes that the minimum addressable unit by a pointer is a byte. However,
    the dialect does not make assumptions about the size of a byte, which is
    considered a target-specific property.
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list