[llvm] [SandboxIR] Add callbacks for instruction insert/remove/move ops. (PR #112965)

Jorge Gorbe Moya via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 13:56:48 PDT 2024


================
@@ -660,4 +663,57 @@ Module *Context::createModule(llvm::Module *LLVMM) {
   return M;
 }
 
+void Context::runRemoveInstrCallbacks(Instruction *I) {
+  for (const auto &CBEntry : RemoveInstrCallbacks) {
----------------
slackito wrote:

Fixed.

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


More information about the llvm-commits mailing list