[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:00 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:
That's something that is needed, we support that on CHERI
https://github.com/llvm/llvm-project/pull/139357
    
    
More information about the llvm-branch-commits
mailing list