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

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 13:00:31 PDT 2024


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

unnecessary braces

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


More information about the llvm-commits mailing list