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

Jessica Clarke via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 20 10:11:26 PDT 2025


================
@@ -4274,6 +4274,7 @@ bool LLParser::parseValID(ValID &ID, PerFunctionState *PFS, Type *ExpectedTy) {
   case lltok::kw_bitcast:
   case lltok::kw_addrspacecast:
   case lltok::kw_inttoptr:
+  // ptrtoaddr not supported in constant exprs (yet?).
----------------
jrtc27 wrote:

(i.e. it's a TODO if not implemented here, not a question of whether it should be supported, IMO)

https://github.com/llvm/llvm-project/pull/139357


More information about the llvm-branch-commits mailing list