[llvm-branch-commits] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-05-09 Thread Alexander Richardson via llvm-branch-commits
https://github.com/arichardson created https://github.com/llvm/llvm-project/pull/139357 This introduces a new `ptrtoaddr` instruction which is similar to `ptrtoint` but has two differences: 1) Unlike `ptrtoint`, `ptrtoaddr` does not capture provenance 2) `ptrtoaddr` only extracts (and then exte

[llvm-branch-commits] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-05-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-selectiondag @llvm/pr-subscribers-backend-x86 Author: Alexander Richardson (arichardson) Changes This introduces a new `ptrtoaddr` instruction which is similar to `ptrtoint` but has two differences: 1) Unlike `ptrtoint`, `ptrtoaddr` does not captur

[llvm-branch-commits] [IR] Introduce the `ptrtoaddr` instruction (PR #139357)

2025-05-09 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm-c/Core.h llvm/include/llvm/Analys