[PATCH] D52127: [MF][MBB]: Add the ability to register callbacks for removal and insertion of MachineInstrs

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 09:12:13 PDT 2018


qcolombet added a comment.

Hi Aditya,

Could you use a delegate pattern like what we do for MachineRegisterInfio and LiveRangeEdit?

Other than that, the direction looks reasonable.

Cheers,
-Quentin


Repository:
  rL LLVM

https://reviews.llvm.org/D52127





More information about the llvm-commits mailing list