[all-commits] [llvm/llvm-project] dbfd0f: [LangRef] Clarify that `ptrtoint` behaves like a c...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon May 19 17:10:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbfd0fd4fffedc8946e8f33ab6d8b782c958febb
      https://github.com/llvm/llvm-project/commit/dbfd0fd4fffedc8946e8f33ab6d8b782c958febb
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M llvm/docs/LangRef.rst

  Log Message:
  -----------
  [LangRef] Clarify that `ptrtoint` behaves like a capturing bitcast

This clarifies the outcome of the discussion in
https://discourse.llvm.org/t/clarifiying-the-semantics-of-ptrtoint/83987/54
In the future, we will also introduce a non-capturing pointer -> address
conversion using a new `ptrtoaddr` instruction.

Reviewed By: krzysz00

Pull Request: https://github.com/llvm/llvm-project/pull/139349



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