[llvm] [SandboxIR] Add more Instruction member functions (PR #98588)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 13:59:25 PDT 2024


================
@@ -623,6 +670,12 @@ class Context {
   DenseMap<llvm::Value *, std::unique_ptr<sandboxir::Value>>
       LLVMValueToValueMap;
 
+  /// Remove \p V from the maps and returns the unique_ptr.
+  std::unique_ptr<Value> detachLLVMValue(llvm::Value *V);
----------------
aeubanks wrote:

I thought we wanted to keep around Values in case we rollback

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


More information about the llvm-commits mailing list