[llvm] [SandboxIR][Doc] Add a Doc file for Sandbox IR (PR #98691)
    Arthur Eubanks via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jul 15 13:24:46 PDT 2024
    
    
  
================
@@ -0,0 +1,53 @@
+# Sandbox IR: A transactional layer over LLVM IR
+
+Sandbox IR is an IR layer on top of LLVM IR that allows you to save/restore its state.
+
+# API
+The Sandbox IR API is designed to feel like LLVM, replicating many common API classes and functions to mirror the LLVM API.
+The class hierarchy is similar (but in the `llvm::sandboxir` namespace), for example here is a small part of it:
----------------
aeubanks wrote:
```suggestion
The class hierarchy is similar (but in the `llvm::sandboxir` namespace). For example here is a small part of it:
```
https://github.com/llvm/llvm-project/pull/98691
    
    
More information about the llvm-commits
mailing list