[llvm] [SandboxIR] Add more Instruction member functions (PR #98588)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 13:22:00 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'm debating whether or not this should have `[[nodiscard]]`. Unsure how pervasive you'd want `[[nodiscard]]` to be throughout these APIs
https://github.com/llvm/llvm-project/pull/98588
More information about the llvm-commits
mailing list