[llvm] [SandboxIR] Boilerplate code (PR #95814)
Jorge Gorbe Moya via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 15:02:02 PDT 2024
================
@@ -0,0 +1,129 @@
+//===- SandboxIR.h ----------------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// Sandbox IR is a lightweight overlay transactional IR on top of LLVM IR.
+// Features:
+// - You can save/rollback the state of the IR at any time.
+// - Any changes made to Sandbox IR will automatically update the underlying
+// LLVM IR so both IRs are always in sync.
+// - Feels like LLVM IR, similar API.
+//
+// SandboxIR forms a class hierarcy that resembles that of LLVM IR:
----------------
slackito wrote:
Typo: hierarchy
https://github.com/llvm/llvm-project/pull/95814
More information about the llvm-commits
mailing list